Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.76ms] Passed 4 tests
This is a short check of server-side resources used by GV Excel-Export
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.95 ▲0.23 |
Dashboard /wp-admin | 3.38 ▲0.04 | 45.93 ▼12.46 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 47.69 ▲2.66 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.33 ▼13.47 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.55 ▲4.25 |
Server storage [IO: ▲4.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 263 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for GV Excel-Export
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲49 | 14.31 ▲0.10 | 1.94 ▼0.17 | 42.33 ▼1.79 |
Dashboard /wp-admin | 2,198 ▲20 | 5.58 ▼0.09 | 89.35 ▼23.43 | 40.24 ▼5.14 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.11 | 41.25 ▲1.88 | 36.95 ▲1.63 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.41 ▲0.20 | 617.04 ▲29.07 | 51.94 ▲0.27 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.18 ▼0.08 | 95.25 ▼5.03 | 41.04 ▼3.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/gv-excel-export/uninstall.php
- 102× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Settings' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/PDF/mPDF.php:4
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Abstract' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/Excel2007.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel5_BIFFwriter' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/Excel5/Workbook.php:63
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/Excel2007/Drawing.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Abstract' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/OpenDocument.php:28
- > PHP Fatal error
require_once(): Failed opening required 'PHPEXCEL_ROOTPHPExcel/Shared/trend/linearBestFitClass.php' (include_path='.:/usr/share/php') in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Shared/trend/trendClass.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/Excel2007/Theme.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/OpenDocument/WriterPart.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/Excel2007/Rels.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_OpenDocument_WriterPart' not found in wp-content/plugins/gv-excel-export/lib/phpExcel_7.4/PHPExcel/Writer/OpenDocument/Mimetype.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: gravityforms, gravity, export, gravity view, gravity forms...
gv-excel-export/gv-excel-export.php 85% from 13 tests
The principal PHP file in "GV Excel-Export" v. ... is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "...")
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin55,821 lines of code in 221 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 219 | 10,181 | 34,050 | 55,786 |
CSS | 2 | 3 | 6 | 35 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,019)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 47.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,019.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 205 | |
▷ Abstract classes | 10 | 4.88% |
▷ Concrete classes | 195 | 95.12% |
▷ Final classes | 0 | 0.00% |
Methods | 2,813 | |
▷ Static methods | 628 | 22.32% |
▷ Public methods | 2,221 | 78.95% |
▷ Protected methods | 80 | 2.84% |
▷ Private methods | 512 | 18.20% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 750 | |
▷ Global constants | 56 | 7.47% |
▷ Class constants | 694 | 92.53% |
▷ Public constants | 694 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.09MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 96.13KB | 26.27KB | ▼ 72.67% |