Basis of Presentation | Note 1. Basis of Presentation Description of Business Viavi Solutions Inc. (“ Viavi ,” also referred to as “the Company,” “we,” “our,” and “us”), formerly JDS Uniphase Corporation (“JDSU”), is a global provider of network test, monitoring and assurance solutions to communications service providers, enterprises and their ecosystems, supported by a worldwide channel community including Viavi Velocity Solution Partners. The Velocity program (“Velocity”) allows the Company to optimize the use of direct or partner sales depending on application and sales volume. Velocity expands the Company’s reach into new market segments as well as expands the capability to sell and deliver solutions. Viavi’s solutions deliver end-to-end visibility across physical, virtual and hybrid networks, enabling customers to optimize connectivity, quality of experience and profitability. Viavi is also a leader in high performance thin film optical coatings, providing light management solutions to anti-counterfeiting, consumer and industrial, government and healthcare and other markets. Lumentum Separation On August 1, 2015 (the “Separation Date”), Viavi completed the distribution of approximately 80.1% of the outstanding shares of Lumentum Holdings Inc. (“Lumentum”) common stock (the “Distribution”). Concurrent with the Distribution, JDSU was renamed Viavi Solutions Inc. and, at the time of the Distribution, retained ownership of approximately 19.9% of Lumentum’s outstanding shares. Lumentum was formed to hold Viavi’s communications and commercial optical products business segment (“CCOP”) and the WaveReady product line and, as a result of the Distribution, is now an independent public company trading under the symbol “LITE” on The Nasdaq Stock Market (“NASDAQ”). The Distribution was made to Viavi’s stockholders of record as of the close of business on July 27, 2015 (the “Record Date”), who received one share of Lumentum common stock for every five shares of Viavi common stock held as of the close of business on the Record Date and not sold prior to August 4, 2015, the ex-dividend date. The historical results of operations and the financial position have been recasted to present the Lumentum business as discontinued operations as described in “ Note 3. Discontinued Operations .” Unless noted otherwise, discussion in the Notes to Consolidated Financial Statements pertains to continuing operations. Fiscal Years The Company utilizes a 52-53 week fiscal year ending on the Saturday closest to June 30th. The Company’s fiscal 2017 was a 52-week year ending on July 1, 2017 . The Company’s fiscal 2016 and 2015 were 53-week and 52-week fiscal years ending on July 2, 2016 , and June 27, 2015 , respectively. Principles of Consolidation The consolidated financial statements have been prepared in accordance with accounting principles generally accepted in the United States of America (“U.S. GAAP”) and include the Company and its wholly-owned subsidiaries. All inter-company accounts and transactions have been eliminated. Use of Estimates The preparation of the Company’s consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amount of assets and liabilities at the date of the financial statements, the reported amount of net revenues and expenses and the disclosure of commitments and contingencies during the reporting periods. The Company bases estimates on historical experience and on various assumptions about the future that are believed to be reasonable based on available information. The Company’s reported financial positions or results of operations may be materially different under changed conditions or when using different estimates and assumptions, particularly with respect to significant accounting policies. If estimates or assumptions differ from actual results, subsequent periods are adjusted to reflect more current information. Cash and Cash Equivalents The Company considers highly liquid instruments such as treasury bills, commercial paper and other money market instruments with original maturities of 90 days or less at the time of purchase to be cash equivalents. Cash equivalents also include certain term deposit with financial institutions that the Company can liquidate with 30-day advance notice without incurring penalty. Restricted Cash At July 1, 2017 and July 2, 2016 , the Company’s short-term restricted cash balances were $11.2 million and $12.2 million , respectively, and the Company’s long-term restricted cash balances were $6.8 million and $6.0 million , respectively. These balances primarily include interest-bearing investments in bank certificates of deposit and money market funds which act as collateral supporting the issuance of letters of credit and performance bonds for the benefit of third parties. Refer to the Company’s “ Note 16. Commitments and Contingencies ” for more information. Investments The Company’s investments in debt securities and marketable equity securities, including the Company’s ownership of Lumentum’s common stock, are primarily classified as available-for-sale investments or trading securities and are recorded at fair value. The cost of securities sold is based on the specific identification method. Unrealized gains and losses resulting from changes in fair value on available-for-sale investments, net of tax, are reported within accumulated other comprehensive income (loss), a separate component of stockholders’ equity. Unrealized gains or losses on trading securities resulting from changes in fair value are recognized in current earnings. The Company’s short-term investments, which are classified as current assets, include certain securities with stated maturities of longer than twelve months as they are highly liquid and available to support current operations. The Company periodically reviews these investments for impairment. If a debt security’s fair value is below amortized cost and the Company either intends to sell the security or it is more likely than not that the Company will be required to sell the security before its anticipated recovery, the Company records an other-than-temporary impairment charge to current earnings for the entire amount of the impairment; if a debt security’s fair value is below amortized cost and the Company does not expect to recover the entire amortized cost of the security, the Company separates the other-than-temporary impairment into the portion of the loss related to credit factors, or the credit loss portion, and the portion of the loss that is not related to credit factors, or the non-credit loss portion. The credit loss portion is the difference between the amortized cost of the security and the Company’s best estimate of the present value of the cash flows expected to be collected from the debt security. The non-credit loss portion is the residual amount of the other-than-temporary impairment. The credit loss portion is recorded as a charge to income (loss), and the non-credit loss portion is recorded as a separate component of other comprehensive (loss) income. Fair Value of Financial Instruments The carrying amounts of certain of the Company’s financial instruments, including cash equivalents, accounts receivable, accounts payable, and deferred compensation liability, approximate fair value because of their short maturities. Fair value is defined as the exit price, or the amount that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants as of the measurement date. There is an established hierarchy for inputs used in measuring fair value that maximizes the use of observable inputs and minimizes the use of unobservable inputs by requiring the most observable inputs be used when available. Observable inputs are inputs market participants would use in valuing the asset or liability and are developed based on market data obtained from sources independent of the Company. Unobservable inputs are inputs that reflect the assumptions about the factors that market participants would use in valuing the asset or liability. Estimates of fair value of fixed-income securities are based on third party, market-based pricing sources which the Company believes to be reliable. These estimates represent the third parties’ good faith opinion as to what a buyer in the marketplace would pay for a security in a current sale. For instruments that are not actively traded, estimates may be based on current treasury yields adjusted by an estimated market credit spread for the specific instrument. The fair market value of the Company’s 0.625% Senior Convertible Notes due 2033 and 1.00% Senior Convertible Notes due 2024 fluctuates with interest rates and with the market price of the stock, but does not affect the carrying value of the debt on the balance sheet. Refer to the Company’s “ Note 10. Debt ” for more information. Inventories Inventory is valued at standard cost, which approximates actual cost computed on a first-in, first-out basis, not in excess of net realizable market value. The Company assesses the valuation on a quarterly basis and writes down the value for estimated excess and obsolete inventory based upon estimates of future demand, including warranty requirements. Our inventories include material, labor, and manufacturing overhead costs. Property, Plant and Equipment Property, plant and equipment are stated at cost. Depreciation is computed by the straight-line method over the following estimated useful lives of the assets: 10 to 50 years for building and improvements, 2 to 20 years for machinery and equipment, and 2 to 5 years for furniture, fixtures, software and office equipment. Leasehold improvements are amortized by the straight-line method over the shorter of the estimated useful lives of the assets or the term of the lease. Demonstration units, which are Company products used for demonstration purposes for customers and/or potential customers and generally not intended to be sold, have an estimated useful life of 3 to 5 years and are amortized by the straight-line method. Costs related to software acquired, developed or modified solely to meet the Company’s internal requirements and for which there are no substantive plans to market are capitalized in accordance with the authoritative guidance on accounting for the costs of computer software developed or obtained for internal use. Only costs incurred after the preliminary planning stage of the project and after management has authorized and committed funds to the project are eligible for capitalization. Costs capitalized for computer software developed or obtained for internal use are included in property, plant and equipment, net on the Consolidated Balance Sheets. Goodwill Goodwill represents the excess of the purchase price of an acquired enterprise or assets over the fair value of the identifiable assets acquired and liabilities assumed. The Company tests for impairment of goodwill on an annual basis in the fourth quarter and at any other time when events occur or circumstances indicate that the carrying amount of goodwill may not be recoverable. Refer to “ Note 8. Goodwill ” for more information. Circumstances that could trigger an impairment test include, but are not limited to, a significant adverse change in the business climate or legal factors, an adverse action or assessment by a regulator, change in customers, target market and strategy, unanticipated competition, loss of key personnel, or the likelihood that a reporting unit or significant portion of a reporting unit will be sold or otherwise disposed. An assessment of qualitative factors may be performed to determine whether it is necessary to perform the quantitative goodwill impairment test. If the result of the qualitative assessment is that it is more likely than not (i.e., greater than 50% likelihood) that the fair value of a reporting unit is less than its carrying amount, then the quantitative test is required. Otherwise, no further testing is required. Under the quantitative test, if the carrying amount of the reporting unit goodwill exceeds the implied fair value of that goodwill, an impairment loss is recorded in the Consolidated Statements of Operations as “impairment of goodwill.” Measurement of the fair value of a reporting unit is based on one or more of the following fair value measures: using present value techniques of estimated future cash flows, or using valuation techniques based on multiples of earnings or revenue, or a similar performance measure. In the fourth quarter of fiscal 2017, the Company early adopted the new accounting guidance issued by the FASB that eliminated the requirement to calculate the implied fair value of goodwill to measure a goodwill impairment charge. Instead, any impairment charge would be based on the excess of a reporting unit's carrying amount over its fair value. Intangible Assets Intangible assets consist primarily of purchased intangible assets through acquisitions. Purchased intangible assets primarily include acquired developed technologies (developed and core technology), customer relationships, proprietary know-how, trade secrets, and trademarks and trade names. Intangible assets are amortized using the straight-line method over the estimated economic useful lives of the assets, which is the period during which expected cash flows support the fair value of such intangible assets. Refer to “ Note 9. Acquired Developed Technology and Other Intangibles ” for more information. Long-lived Asset Valuation (Property, Plant and Equipment and Intangible Assets Subject to Amortization ) Long-lived assets held and used The Company tests long-lived assets for recoverability, at the asset group level, when events or changes in circumstances indicate that their carrying amount may not be recoverable. Circumstances which could trigger a review include, but are not limited to, significant decreases in the market price of the asset, significant adverse changes in the business climate or legal factors, accumulation of costs significantly in excess of the amount originally expected for the acquisition or construction of the asset, current period cash flow or operating losses combined with a history of losses or a forecast of continuing losses associated with the use of the asset, or current expectation that the asset will more likely than not be sold or disposed significantly before the end of its estimated useful life. Recoverability is assessed based on the difference between the carrying amount of the asset and the sum of the undiscounted cash flows expected to result from the use and the eventual disposal of the asset. An impairment loss is recognized when the carrying amount is not recoverable and exceeds the fair value. Pension and Other Postretirement Benefits In the fourth quarter of fiscal 2016 the Company early adopted the authoritative guidance issued by the FASB that provides a practical expedient permitting an entity to measure defined benefit plan assets and obligations using the month-end that is closest to the entity’s fiscal year-end and apply that practical expedient consistently from year to year. The Company has adopted the month-end date of June 30, which is the closest month-end to the Company’s fiscal year as the measurement date for all of the Company's qualified and the non-qualified pension plans in certain countries beginning in fiscal 2016. Measurement dates for prior periods are not impacted. The funded status of the Company’s retirement-related benefit plans is recognized on the Consolidated Balance Sheets. The funded status is measured as the difference between the fair value of plan assets and the benefit obligation at fiscal year end, the measurement date. For defined benefit pension plans, the benefit obligation is the projected benefit obligation (“PBO”) and for the non-pension postretirement benefit plan the benefit obligation is the accumulated postretirement benefit obligation (“APBO”). The PBO represents the actuarial present value of benefits expected to be paid upon its employee’s retirement. The APBO represents the actuarial present value of postretirement benefits attributed to employee services already rendered. Unfunded or partially funded plans, with the benefit obligation exceeding the fair value of plan assets, are aggregated and recorded as a retirement and non-pension postretirement benefit obligation equal to this excess. The current portion of the retirement-related benefit obligation represents the actuarial present value of benefits payable in the next 12 months in excess of the fair value of plan assets, measured on a plan-by-plan basis. This liability is recorded in other current liabilities in the Consolidated Balance Sheets. Net periodic pension cost is recorded in the Consolidated Statements of Operations and includes service cost, interest cost, expected return on plan assets, amortization of prior service cost (credit), and (gains) losses previously recognized as a component of accumulated other comprehensive income (loss). Service cost represents the actuarial present value of participant benefits attributed to services rendered by employees in the current year. Interest cost represents the time value of money cost associated with the passage of time. (Gains) losses arise as a result of differences between actual experience and assumptions or as a result of changes in actuarial assumptions. Prior service cost (credit) represents the cost of benefit improvements attributable to prior service granted in plan amendments. (Gains) losses and prior service cost (credit) not recognized as a component of net periodic pension cost in the Consolidated Statements of Operations as they arise are recognized as a component of accumulated other comprehensive income (loss) on the Consolidated Balance Sheets, net of tax. Those (gains) losses and prior service cost (credit) are subsequently recognized as a component of net periodic pension cost pursuant to the recognition and amortization provisions of the authoritative guidance. The measurement of the benefit obligation and net periodic pension cost is based on the Company’s estimates and actuarial valuations provided by third-party actuaries, and are approved by management. These valuations reflect the terms of the plans and use participant-specific information such as compensation, age and years of service, as well as certain assumptions, including estimates of discount rates, expected return on plan assets, rate of compensation increases, and mortality rates. The Company evaluates these assumptions periodically but not less than annually. In estimating the expected return on plan assets, the Company considers historical returns on plan assets, diversification of plan investments, adjusted for forward-looking considerations, inflation assumptions and the impact of the active management of the plan’s invested assets. Concentration of Credit and Other Risks Financial instruments that potentially subject the Company to concentrations of credit risk consist primarily of cash and cash equivalents, short-term investments, restricted cash, trade receivables and foreign currency forward contracts. The Company’s cash and cash equivalents and short-term investments are held in safekeeping by large, creditworthy financial institutions. The Company invests its excess cash primarily in U.S. government and agency bonds securities, corporate securities, money market funds, asset-backed securities, other investment-grade securities and certificates of deposit. The Company has established guidelines relative to credit ratings, diversification and maturities that seek to maintain safety and liquidity of these investments. The Company’s foreign exchange derivative instruments expose the Company to credit risk to the extent that the counterparties may be unable to meet the terms of the agreements. The Company seeks to mitigate such risk by limiting its counterparties to major financial institutions and by spreading such risk across several major financial institutions. In addition, the potential risk of loss with any one counterparty resulting from such risk is monitored by the Company on an ongoing basis. The Company performs credit evaluations of its customers’ financial condition and generally does not require collateral from its customers. These evaluations require significant judgment and are based on a variety of factors including, but not limited to, current economic trends, historical payment, bad debt write-off experience, and financial review of the customer. The Company maintains an allowance for doubtful accounts for estimated losses resulting from the inability of its customers to make required payments. When the Company becomes aware that a specific customer is unable to meet its financial obligations, the Company records a specific allowance to reflect the level of credit risk in the customer’s outstanding receivable balance. In addition, the Company records additional allowances based on certain percentages of aged receivable balances. These percentages take into account a variety of factors including, but not limited to, current economic trends, historical payment and bad debt write-off experience. The Company classifies bad debt expenses as selling, general and administrative (“SG&A”) expense. The Company is not able to predict changes in the financial stability of its customers. Any material change in the financial status of any one customer or a group of customers could have a material adverse effect on the Company’s results of operations and financial condition. Although such losses have been within management’s expectations to date, there can be no assurance that such allowances will continue to be adequate. The Company has significant trade receivables concentrated in the telecommunications industry. While the Company’s allowance for doubtful accounts balance is based on historical loss experience along with anticipated economic trends, unanticipated financial instability in the telecommunications industry could lead to higher than anticipated losses. As of July 1, 2017 and July 2, 2016 , one customer represented 10% or more of our total accounts receivable, net. During fiscal 2017 , 2016 and 2015 , certain customers generated 10% or more of total net revenues. Refer to " Note 17. Operating Segments and Geographic Information " for more information. The Company relies on a limited number of suppliers for a number of key components contained in our products. The Company also relies on a limited number of significant independent contract manufacturers for the production of certain key components and subassemblies contained in our products. The Company generally uses a rolling twelve month forecast based on anticipated product orders, customer forecasts, product order history and backlog to determine its materials requirements. Lead times for the parts and components that the Company orders vary significantly and depend on factors such as the specific supplier, contract terms and demand for a component at a given time. If the forecast does not meet actual demand, the Company may have excess or shortfalls of some materials and components, as well as excess inventory purchase commitments. The Company could experience reduced or delayed product shipments or incur additional inventory write-downs and cancellation charges or penalties, which would increase costs and could have a material adverse impact on the Company’s results of operations. Foreign Currency Forward Contracts The Company conducts its business and sells its products to customers primarily in North America, Europe and Asia. In the normal course of business, the Company’s financial position is routinely subject to market risks associated with foreign currency rate fluctuations due to balance sheet positions in foreign currencies. The Company evaluates foreign exchange risks and utilizes foreign currency forward contracts to reduce such risks, hedging the gains or losses generated by the re-measurement of significant foreign currency denominated monetary assets and liabilities. The fair value of these contracts is reflected as other current assets or other current liabilities and the change in fair value of these foreign currency forward contracts is recorded as gain or loss in the Company’s Consolidated Statements of Operations as a component of interest and other income, net. The gain or loss from the change in fair value of these foreign currency forward contracts largely offsets the change in fair value of the foreign currency denominated monetary assets and liabilities, which is also recorded as a component of interest and other income, net. Foreign Currency Translation Assets and liabilities of non-U.S. subsidiaries that operate in a local currency environment, where that local currency is the functional currency, are translated into U.S. dollars at exchange rates in effect at the balance sheet date, with the resulting translation adjustments directly recorded as a component of accumulated other comprehensive income (loss) on the Consolidated Balance Sheets. Income and expense accounts are translated at the prior month end exchange rates, which are deemed to approximate the exchange rate when the income and expense are recognized. Gains and losses from re-measurement of monetary assets and liabilities that are denominated in currencies other than the respective functional currencies are included in the Consolidated Statements of Operations as a component of interest and other income, net. Revenue Recognition The Company recognizes revenue when it is realized or realizable and earned. The Company considers revenue realized or realizable and earned when it has persuasive evidence of an arrangement, delivery has occurred, the sales price is fixed or determinable and collectibility is reasonably assured. Delivery does not occur until products have been shipped or services have been provided, risk of loss has transferred and in cases where formal acceptance is required, customer acceptance has been obtained or customer acceptance provisions have lapsed. In situations where a formal acceptance is required but the acceptance only relates to whether the product meets its published specifications, revenue is recognized upon delivery provided that all other revenue recognition criteria are met. Historical return rates are monitored on a product-by-product basis. In addition, some distributor agreements allow for partial return of products and/or price protection under certain conditions within limited time periods. Such return rights are generally limited to contractually defined, short-term stock rotation and defective or damaged product. We maintain reserves for sales returns and price adjustments based on historical experience and other qualitative factors. As new products or distributors are introduced, these historical rates are used to establish initial sales returns reserves and are adjusted as better information becomes available. We also have market development incentive programs for certain distributors whereby rebates are offered based upon exceeding volume goals. Estimated rebates, sales returns and other such allowances are deducted from revenue. In addition to the aforementioned general policies, the following are the specific revenue recognition policies for multiple-element arrangements and for each major category of revenue. Multiple-Element Arrangements When a sales arrangement contains multiple deliverables, such as sales of products that include services, the multiple deliverables are evaluated to determine whether there are one or more units of accounting. Where there is more than one unit of accounting, then the entire fee from the arrangement is allocated to each unit of accounting based on the relative selling price. Under this approach, the selling price of a unit of accounting is determined by using a selling price hierarchy which requires the use of vendor-specific objective evidence (“VSOE”) of fair value if available, third-party evidence (“TPE”) if VSOE is not available, or best estimate of selling price (“BESP”) if neither VSOE nor TPE is available. Revenue is recognized when the revenue recognition criteria for each unit of accounting are met. The Company establishes VSOE of selling price using the price charged for a deliverable when sold separately and, in remote circumstances, using the price established by management having the relevant authority. TPE of selling price is established by evaluating similar and interchangeable competitor goods or services in sales to similarly situated customers. When VSOE or TPE is not available, the Company then uses BESP. Generally, the Company is not able to determine TPE because its product strategy differs from that of others in our markets, and the extent of customization varies among comparable products or services from its peers. The Company establishes BESP using historical selling price trends and considering multiple factors including, but not limited to geographies, market conditions, competitive landscape, internal costs, gross margin objectives, and pricing practices. When determining BESP, the Company applies significant judgment in establishing pricing strategies and evaluating market conditions and product lifecycles. To the extent a deliverable(s) in a multiple-element arrangement is subject to specific guidance (for example, software that is subject to the authoritative guidance on software revenue recognition), the Company allocates the fair value of the units of accounting using relative selling price and that unit of accounting is accounted for in accordance with the specific guidance. Some product offerings include hardware that are integrated with or sold with software that delivers the functionality of the equipment. The Company believes this equipment is not considered software-related and would therefore be excluded from the scope of the authoritative guidance on software revenue recognition. Hardware Revenue from hardware sales is recognized when the product is shipped to the customer and when there are no unfulfilled obligations from the Company that affect the customer’s final acceptance of the arrangement. Any cost of warranties and remaining obligations that are inconsequential or perfunctory are accrued when the corresponding revenue is recognized. Services Revenue from services and system maintenance is recognized on a straight-line basis over the term of the service. Revenue from professional service engagements is recognized once its delivery obligation is fulfilled. Revenue related to extended warranty and product maintenance contracts is deferred and recognized on a straight-line basis over the delivery period. The Company also generates service revenue from hardware repairs and calibration which is recognized as revenue upon completion of the service. Software The Company’s software arrangements generally consist of a perpetual license fee, installation services and Post-Contract Support (“PCS”) as well as other non-software deliverables. VSOE of fair value for PCS is established based on the renewal rate or the bell curve methodology. Non-software and software-related arrangements are bifurcated based on a relative selling price using BESP. The software related elements are bifurcated into separate units of accounting if VSOE of fair value has been established for the undelivered element(s) and the functionality of the delivered element(s) is not dependent on the undelivered element(s). Revenue from multiple-element software arrangements that include installation services, is deferred until installation service obligation for the software solution is fulfilled. If VSOE has been established for the undelivered elements, the software, installation services and non-software elements are recognized upon completion of delivery and the PCS is recognized ratably over the remaining support contract term. If VSOE has not been established for the undelivered element, the software related elements are recognized ratably over the remaining support period. Warranty The Company provides reserves for the estimated costs of product warranties at the time revenue is recognized. It estimates the costs of its warranty obligations based on its historical experience of known product failure rates, use of materials to repair or replace defective products and service delivery costs incurred in correcting product failures. In addition, from time to time, specific warranty accruals may be made if unforeseen technical problems arise. Shipping and Handlin |