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.09MB] [CPU: ▲1.07ms] Passed 4 tests
A check of server-side resources used by EG-Series
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 46.89 ▲2.27 |
Dashboard /wp-admin | 3.45 ▲0.15 | 56.16 ▲2.98 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 51.29 ▼3.13 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 94.03 ▲2.49 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.21 ▲2.63 |
EG-Series /wp-admin/edit-tags.php?taxonomy=series&post_type=page | 3.30 | 39.30 |
EG-Series /wp-admin/edit-tags.php?taxonomy=series | 3.30 | 40.64 |
EG-Series /wp-admin/options-general.php?page=egs_options | 3.45 | 38.26 |
EG-Series Bulk Edit /wp-admin/edit.php?page=egs_post_edit | 3.26 | 36.40 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
EG-Series-Options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for EG-Series
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲53 | 13.78 ▲0.57 | 1.91 ▲0.05 | 45.50 ▲3.23 |
Dashboard /wp-admin | 2,245 ▲39 | 4.85 ▼1.01 | 111.49 ▲8.77 | 43.47 ▲0.38 |
Posts /wp-admin/edit.php | 2,167 ▲78 | 2.03 ▼0.03 | 39.35 ▼1.27 | 33.19 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,566 ▲24 | 23.16 ▲5.03 | 665.51 ▼86.51 | 49.63 ▼5.44 |
Media Library /wp-admin/upload.php | 1,430 ▲42 | 4.18 ▼0.05 | 94.70 ▼18.38 | 41.30 ▼41.46 |
EG-Series /wp-admin/edit-tags.php?taxonomy=series&post_type=page | 1,276 | 2.14 | 29.74 | 30.67 |
EG-Series /wp-admin/edit-tags.php?taxonomy=series | 1,273 | 2.14 | 27.72 | 30.57 |
EG-Series /wp-admin/options-general.php?page=egs_options | 1,183 | 1.86 | 25.45 | 29.28 |
EG-Series Bulk Edit /wp-admin/edit.php?page=egs_post_edit | 1,027 | 2.23 | 38.96 | 30.82 |
Uninstaller [IO: ✅] [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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/eg-series/uninstall.php+14
Constant EGS_TAXONOMY already defined
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- EG-Series-Options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=egs_post_edit
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=egs_post_edit
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'EG_Plugin_133' not found in wp-content/plugins/eg-series/inc/eg-series-admin.inc.php:12
- > PHP Fatal error
Uncaught Error: Class 'EG_Widget_211' not found in wp-content/plugins/eg-series/inc/eg-series-widgets.inc.php:7
- > PHP Fatal error
Uncaught Error: Class 'EG_Series_Common' not found in wp-content/plugins/eg-series/inc/eg-series-settings.inc.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eg-series/lib/eg-widgets.inc.php:31
- > PHP Fatal error
Uncaught Error: Class 'EG_Plugin_133' not found in wp-content/plugins/eg-series/inc/eg-series-public.inc.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eg-series/lib/eg-widgets.inc.php:31
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: A description for screenshot #6 is missing in eg-series/assets to your readme.txt
eg-series/eg-series.php Passed 13 tests
The primary PHP file in "EG-Series" version 2.1.1 is used by WordPress to initiate all plugin functionality
70 characters long description:
Better organize and highlight your posts by grouping them into series.
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
Good job! No executable or dangerous file extensions detected3,248 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 518 | 991 | 2,763 |
PO File | 1 | 164 | 182 | 338 |
JavaScript | 5 | 10 | 4 | 90 |
CSS | 2 | 27 | 0 | 57 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 40.38 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 16 | 15.69% |
▷ Public methods | 102 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 25 | |
▷ Global constants | 25 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/tinymce/img/egseries.png | 1.76KB | 1.36KB | ▼ 22.88% |