Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.85ms] Passed 4 tests
Server-side resources used by Gravity Forms To Excel AddOn
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.84 ▼1.13 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.12 ▼0.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.74 ▼6.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.40 ▼11.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.44 ▲3.56 |
Server storage [IO: ▲3.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 242 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gravity Forms To Excel AddOn
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.62 ▼1.18 | 4.89 ▲3.00 | 43.02 ▼4.63 |
Dashboard /wp-admin | 2,203 ▲12 | 5.88 ▲0.98 | 98.95 ▼16.60 | 40.80 ▲1.55 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 39.09 ▲0.33 | 32.70 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 18.37 ▲0.86 | 627.39 ▼59.02 | 62.40 ▲7.03 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.17 ▼0.09 | 96.70 ▼7.42 | 39.72 ▼4.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 86× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'PHPEXCEL_ROOTPHPExcel/Shared/trend/linearBestFitClass.php' (include_path='.:/usr/share/php') in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Shared/trend/trendClass.php on line 29
- > PHP Fatal error
Uncaught Error: Interface 'PHPExcel_IComparable' not found in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Comment.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_CachedObjectStorage_CacheBase' not found in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/CachedObjectStorage/Memcache.php:36
- > PHP Warning
Use of undefined constant PHPEXCEL_ROOT - assumed 'PHPEXCEL_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Shared/trend/powerBestFitClass.php on line 29
- > PHP Fatal error
Uncaught Error: Interface 'PHPExcel_Reader_IReader' not found in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Reader/Abstract.php:36
- > PHP Warning
Use of undefined constant PHPEXCEL_ROOT - assumed 'PHPEXCEL_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Shared/trend/polynomialBestFitClass.php on line 29
- > PHP Warning
require_once(PHPEXCEL_ROOTPHPExcel/Shared/trend/linearBestFitClass.php): failed to open stream: No such file or directory in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Shared/trend/trendClass.php on line 29
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Abstract' not found in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Writer/CSV.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Style_Supervisor' not found in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Style.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/gravity-forms-to-excel-addon/includes/PHPExcel/Writer/Excel2007/Style.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
gravity-forms-to-excel-addon/gf2excel-addon.php 85% from 13 tests
This is the main PHP file of "Gravity Forms To Excel AddOn" version 0.1.5.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gravity-forms-to-excel-addon.php" instead of "gf2excel-addon.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin51,448 lines of code in 196 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 191 | 11,568 | 35,602 | 51,200 |
PO File | 2 | 28 | 68 | 231 |
JavaScript | 1 | 7 | 14 | 16 |
JSON | 1 | 0 | 0 | 1 |
CSS | 1 | 0 | 8 | 0 |
PHP code 0% from 2 tests
An overview of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,176)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 55.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,176.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 181 | |
▷ Abstract classes | 6 | 3.31% |
▷ Concrete classes | 175 | 96.69% |
▷ Final classes | 0 | 0.00% |
Methods | 2,719 | |
▷ Static methods | 621 | 22.84% |
▷ Public methods | 2,215 | 81.46% |
▷ Protected methods | 31 | 1.14% |
▷ Private methods | 473 | 17.40% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 800 | |
▷ Global constants | 119 | 14.88% |
▷ Class constants | 681 | 85.12% |
▷ Public constants | 681 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin