Net Revenue for six months ended July 3, 2020 was $92.8 million, an increase of 5.9% from $87.6 million for six months ended June 28, 2019. The increase was primarily due to an increase in contract revenue generated from government projects and incremental contract revenue from our acquisitions of Onsite Energy and E3, Inc., partially offset by Covid-19 work suspensions in our direct install programs for small businesses in our Energy segment. Net Revenue in the Energy segment was $63.6 million for six months ended July 3, 2020, an increase of 7.2% over the same period last year. Net Revenue in the Engineering and Consulting segment was $29.2 million for six months ended July 3, 2020, an increase of 3.2% over the same period last year.
Direct costs of contract revenue were $129.3 million for six months ended July 3, 2020, a decrease of 7.0%, from $139.1 million for six months ended June 28, 2019. The decrease was primarily as a result of decreased contract revenues from our direct install programs for small businesses in our Energy segment, partially offset by an increase in contract revenue generated from government projects in our Energy segment, combined with additional direct costs of contract revenue related to our acquisitions of Onsite Energy and E3, Inc.
Total general and administrative expenses for six months ended July 3, 2020 was $72.3 million, an increase of 32.6% from $54.5 million for six months ended June 28, 2019, driven primarily by personnel and facilities expenses related to our acquisitions of Onsite Energy and E3., Inc. combined with increases in corporate general and administrative expenses, partially offset by a decrease in expenses in the Engineering and Consulting segment and cost-savings measures in response to Covid-19.
Interest expense was $2.8 million for six months ended July 3, 2020, compared with $2.3 million for six months ended June 28, 2019. The increase in interest expense was the result of borrowings under our credit facilities related to our acquisitions of Onsite Energy and E3, Inc.
We recorded an income tax benefit of $1.7 million for six months ended July 3, 2020, compared to income tax benefit of $1.0 million for the prior year period. The increase in the income tax benefit is primarily attributable to our loss before income tax, partially offset by a decrease in various tax deductions and tax credits.
Net loss for six months ended July 3, 2020 was $13.1 million, or $(1.13) per diluted share, as compared to net income of $1.2 million, or $0.10 per diluted share, for six months ended June 28, 2019. The decrease was primarily driven by decreases in contract revenue as a result of Covid-19 combined with increases in stock-based compensation and intangible asset amortization from acquisitions. Adjusted Net Income (see “Use of Non-GAAP Financial Measures” below) for six months ended July 3, 2020 was $0.5 million, or $0.04 per diluted share, as compared to Adjusted Net Income of $7.5 million, or $0.64 per diluted share, for six months ended June 28, 2019.
Adjusted EBITDA (see “Use of Non-GAAP Financial Measures” below) was $8.5 million for six months ended July 3, 2020, compared to $12.2 million for the six months ended June 28, 2019.
Liquidity and Capital Resources
As of July 3, 2020, we had $17.2 million of cash and cash equivalents. Cash flows provided by operating activities were $29.2 million for the six months ended July 3, 2020, as compared to cash flows provided by operating activities of $12.5 million for the six months ended June 28, 2019. Willdan reported $43.0 million in accounts receivable, net at July 3, 2020, as compared to $46.8 million at June 28, 2019. Changes in cash flows provided by operating activities for the six months ended July 3, 2020 resulted primarily as result of our acquisitions of Onsite Energy and E3, Inc., improvement in cash collections and significant reductions in working capital requirements as a result of the reduction of revenues from the suspension of our direct install energy programs for small businesses.
On May 6, 2020, we amended our credit agreement to provide increased flexibility under our debt covenants. Among other things, the amendment also temporarily changes the interest rate for borrowings under our credit facilities and prohibits share repurchases, certain acquisitions and borrowings under the delayed draw facility, in each case subject to certain exceptions. As of July 3, 2020, we had $118.5 million outstanding on our Credit Facilities. We had no borrowings under our Revolving Credit Facility with $50 million available. Combined with availability under our revolving credit facility, we believe the enhanced liquidity provides a cushion against liquidity disruptions. For 2020, interest expense is estimated to be approximately $6.0 million.