Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.24MB] [CPU: ▼47.65ms] Passed 4 tests
Server-side resources used by Search Excel CSV
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.73 | 13.35 ▼30.53 |
Dashboard /wp-admin | 2.77 ▼0.53 | 16.36 ▼34.62 |
Posts /wp-admin/edit.php | 2.77 ▼0.58 | 18.37 ▼36.56 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.11 | 16.94 ▼88.87 |
Media Library /wp-admin/upload.php | 2.77 ▼0.45 | 18.60 ▼23.31 |
Search CSV/Excel /wp-admin/options-general.php?page=wcs_settings | 2.77 | 16.82 |
Server storage [IO: ▲5.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 277 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Search Excel CSV: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,372 ▲626 | 16.91 ▲2.49 | 19.01 ▲17.24 | 45.86 ▲2.90 |
Dashboard /wp-admin | 2,358 ▲170 | 6.50 ▲0.60 | 123.39 ▲9.41 | 47.42 ▲4.48 |
Posts /wp-admin/edit.php | 2,264 ▲175 | 3.45 ▲1.45 | 52.45 ▲12.26 | 37.88 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,671 ▲152 | 21.84 ▼1.52 | 567.44 ▼71.16 | 31.72 ▼18.03 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.14 ▼0.06 | 83.98 ▼16.47 | 45.10 ▼1.01 |
Search CSV/Excel /wp-admin/options-general.php?page=wcs_settings | 1,127 | 3.03 | 40.32 | 102.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+288
Undefined variable: locale_taro
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+289
Undefined variable: locale_taro
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+13
Undefined index: save_settings_field
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+109
Undefined index: class
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+109
Undefined index: placeholder
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+109
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+110
Undefined index: sub_text
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Notice in wp-content/plugins/search-excel-csv/modules/settings.php+110
Undefined variable: out
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 105× PHP files trigger server errors when accessed directly (only 10 are shown):
- > 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/search-excel-csv/modules/inc/phpExcel/PHPExcel/Shared/trend/trendClass.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Chart_Properties' not found in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Chart/GridLines.php:10
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Writer/Excel2007/ContentTypes.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Worksheet_BaseDrawing' not found in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Worksheet/Drawing.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_OpenDocument_WriterPart' not found in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Writer/OpenDocument/Meta.php:28
- > PHP Fatal error
require_once(): Failed opening required 'PHPEXCEL_ROOTPHPExcel/Shared/trend/bestFitClass.php' (include_path='.:/usr/share/php') in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Shared/trend/polynomialBestFitClass.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'PHPEXCEL_ROOTPHPExcel/Shared/trend/bestFitClass.php' (include_path='.:/usr/share/php') in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Shared/trend/exponentialBestFitClass.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Writer/Excel2007/Drawing.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Writer/Excel2007/Theme.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Style_Supervisor' not found in wp-content/plugins/search-excel-csv/modules/inc/phpExcel/PHPExcel/Style/Alignment.php:27
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/search-excel-csv/modules/js/admin.js?ver=6.3.1:9:32)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=wcs_settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Requires php: The plugin version is formatted incorrectly
- Requires at least: The plugin version is formatted incorrectly
- Tested up to: The plugin version is formatted incorrectly
search-excel-csv/search-excel-csv.php 92% from 13 tests
The main file in "Search Excel CSV" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 289 characters long)
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
No dangerous file extensions were detected74,196 lines of code in 229 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 219 | 10,896 | 35,782 | 58,320 |
CSS | 6 | 1,087 | 136 | 14,602 |
JavaScript | 4 | 538 | 337 | 1,274 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 1,019)
- Method cyclomatic complexity should be reduced to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 49.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,019.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 209 | |
▷ Abstract classes | 10 | 4.78% |
▷ Concrete classes | 199 | 95.22% |
▷ Final classes | 0 | 0.00% |
Methods | 2,873 | |
▷ Static methods | 628 | 21.86% |
▷ Public methods | 2,281 | 79.39% |
▷ Protected methods | 80 | 2.78% |
▷ Private methods | 512 | 17.82% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 812 | |
▷ Global constants | 118 | 14.53% |
▷ Class constants | 694 | 85.47% |
▷ 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
5 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/inc/assets/css/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
modules/inc/assets/css/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
modules/inc/assets/img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
modules/inc/assets/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
modules/images/paypal-donate-button-high-quality-png.png | 68.86KB | 20.25KB | ▼ 70.58% |