Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.58ms] Passed 4 tests
This is a short check of server-side resources used by RelicWP Helper
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 48.14 ▲12.99 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.05 ▼2.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.47 ▼1.97 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.33 ▼7.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.88 ▲5.66 |
Server storage [IO: ▲9.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 605 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
relicwp-helper-version |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for RelicWP Helper
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.74 ▲0.39 | 1.57 ▼0.02 | 40.17 ▼0.05 |
Dashboard /wp-admin | 2,195 ▲26 | 5.62 ▼0.01 | 84.75 ▼18.11 | 34.88 ▼9.47 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▲0.01 | 34.46 ▼3.95 | 30.27 ▼7.04 |
Add New Post /wp-admin/post-new.php | 1,531 ▼3 | 23.22 ▲5.15 | 610.10 ▲9.58 | 70.07 ▼28.86 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▲0.00 | 99.14 ▼7.79 | 45.08 ▲3.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- relicwp-helper-version
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 34× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/relicwp-helper/includes/metabox/controls/rgba-color/template.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/controls/media/template.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/butterbean/tmpl/control-radio.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/butterbean/tmpl/control-multi-avatars.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/controls/color/template.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/butterbean/tmpl/control-media.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/butterbean/tmpl/control-image.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/butterbean/tmpl/section.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/butterbean/tmpl/control-range.php
- > /wp-content/plugins/relicwp-helper/includes/metabox/controls/buttonset/template.php
- 53× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Setting' not found in wp-content/plugins/relicwp-helper/includes/metabox/butterbean/inc/settings/class-setting-datetime.php:20
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/relicwp-helper/includes/metabox/butterbean/inc/controls/class-control-palette.php:19
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/relicwp-helper/includes/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/relicwp-helper/includes/panel/scssphp/src/Formatter/Expanded.php:22
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/relicwp-helper/includes/metabox/butterbean/inc/controls/class-control-textarea.php:19
- > PHP Fatal error
Uncaught Error: Class 'PdWP_ButterBean_Control' not found in wp-content/plugins/relicwp-helper/includes/metabox/butterbean/inc/controls/class-control-editor.php:18
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/relicwp-helper/includes/panel/scssphp/src/Formatter/Compressed.php:22
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/relicwp-helper/includes/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/relicwp-helper/includes/metabox/controls/multiple-select/class-control-multiple-select.php:17
- > PHP Fatal error
Uncaught Error: Class 'RelicWP_Icon_Picker_Type_Font' not found in wp-content/plugins/relicwp-helper/includes/menu-icons/includes/library/icon-selector/includes/types/foundation-icons.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: metabox, metaboxes, widgets, helper plugin, relicwp...
relicwp-helper/relicwp-helper.php Passed 13 tests
The entry point to "RelicWP Helper" version 1.0.0 is a PHP file that has certain tags in its header comment area
125 characters long description:
Use RelicWP helper to activate features like widgets, import/export, metaboxes, and a panel to activate other premium addons.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin105,208 lines of code in 483 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 286 | 13,962 | 26,590 | 64,015 |
JavaScript | 68 | 5,554 | 3,168 | 20,970 |
CSS | 103 | 1,775 | 1,035 | 16,187 |
SVG | 4 | 3 | 6 | 1,815 |
Sass | 15 | 274 | 20 | 1,565 |
Markdown | 5 | 194 | 0 | 615 |
JSON | 2 | 0 | 0 | 41 |
PHP code 0% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,907)
- Method cyclomatic complexity should be reduced to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 40.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,907.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 192 | |
▷ Abstract classes | 6 | 3.12% |
▷ Concrete classes | 186 | 96.88% |
▷ Final classes | 12 | 6.45% |
Methods | 2,207 | |
▷ Static methods | 322 | 14.59% |
▷ Public methods | 1,541 | 69.82% |
▷ Protected methods | 302 | 13.68% |
▷ Private methods | 364 | 16.49% |
Functions | 163 | |
▷ Named functions | 151 | 92.64% |
▷ Anonymous functions | 12 | 7.36% |
Constants | 205 | |
▷ Global constants | 106 | 51.71% |
▷ Class constants | 99 | 48.29% |
▷ Public constants | 99 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
57 compressed PNG files occupy 0.19MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/panel/assets/img/plugins/sticky-header.png | 1.09KB | 1.09KB | 0.45% |
includes/panel/assets/img/rec-plugins/slider-revolution-icon.png | 4.17KB | 4.29KB | 0.00% |
includes/panel/assets/img/plugins/side-panel.png | 0.64KB | 0.65KB | 0.00% |
includes/panel/assets/img/sticky-footer-image.png | 3.53KB | 3.53KB | 0.00% |
includes/freemius/assets/img/relicwp.png | 4.56KB | 2.39KB | ▼ 47.61% |