Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.35ms] Passed 4 tests
Server-side resources used by eValor for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 45.03 ▲1.30 |
Dashboard /wp-admin | 3.39 ▲0.08 | 50.59 ▼1.33 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 56.13 ▲7.12 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 91.76 ▼16.10 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.62 ▼1.26 |
eValor /wp-admin/options-general.php?page=evalor | 3.33 | 39.27 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_evalor_invite_error |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
eValor for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.23 ▲0.04 | 1.77 ▼0.09 | 46.15 ▲3.22 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.02 | 90.03 ▼10.62 | 39.68 ▼4.80 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.04 | 40.77 ▲2.39 | 36.73 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.03 ▲0.06 | 691.51 ▼28.09 | 56.92 ▲2.14 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.21 ▼0.06 | 101.95 ▼5.11 | 47.50 ▼1.72 |
eValor /wp-admin/options-general.php?page=evalor | 997 | 2.16 | 23.68 | 27.72 |
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
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_evalor_invite_error
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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
- > GET request to /wp-admin/options-general.php?page=evalor
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=evalor
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/evalor/common/init.php
- > /wp-content/plugins/evalor/evalor.php
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WebwinkelKeurCommon' not found in wp-content/plugins/evalor/common/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/evalor/options.php:3
- > PHP Fatal error
Uncaught Error: Class 'WebwinkelKeurAdminCommon' not found in wp-content/plugins/evalor/admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'WebwinkelKeurFrontendCommon' not found in wp-content/plugins/evalor/frontend.php:3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/evalor/common/sidebar.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/evalor/common/vendor/Peschar/URLRetrieverTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'WebwinkelKeurCommon' not found in wp-content/plugins/evalor/common/frontend.php:3
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/evalor/common/sidebar.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/evalor/common/sidebar.php:7
- > PHP Fatal error
Uncaught Error: Class 'WebwinkelKeurCommon' not found in wp-content/plugins/evalor/common/woocommerce.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: evalor, woocommerce, review, sidebar, sello...
evalor/evalor.php 85% from 13 tests
The main PHP script in "eValor for WordPress" version v1.6.10... is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 532 characters long)
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "v1.6.10...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected981 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 139 | 25 | 760 |
PO File | 2 | 72 | 154 | 221 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 8.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 2 | 16.67% |
▷ Concrete classes | 10 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 28 | 56.00% |
▷ Protected methods | 9 | 18.00% |
▷ Private methods | 13 | 26.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 were not PNG files found in your plugin