Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.00ms] Passed 4 tests
Analyzing server-side resources used by Superb Helper
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.63 ▼3.54 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.41 ▼10.75 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.32 ▼0.43 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.10 ▼5.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 46.26 ▲9.10 |
Guides & Recommendations /wp-admin/admin.php?page=spbhlpr | 3.27 | 30.41 |
Free Themes /wp-admin/admin.php?page=spbhlpr_themes | 3.26 | 34.63 |
Go Pro /wp-admin/admin.php?page=spbhlpr_gopro | 3.26 | 28.07 |
Free Plugins /wp-admin/admin.php?page=spbhlpr_plugins | 3.26 | 30.65 |
Server storage [IO: ▲10.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 1,233 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Superb Helper: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲129 | 13.27 ▼0.98 | 4.17 ▲2.43 | 16.93 ▼29.95 |
Dashboard /wp-admin | 2,270 ▲82 | 5.90 ▲0.05 | 94.92 ▼12.56 | 86.17 ▲40.36 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.18 ▲0.17 | 34.20 ▼4.86 | 41.48 ▲5.41 |
Add New Post /wp-admin/post-new.php | 1,724 ▲194 | 22.37 ▲4.10 | 705.49 ▲96.36 | 58.62 ▲5.92 |
Media Library /wp-admin/upload.php | 1,440 ▲49 | 4.18 ▼0.01 | 111.78 ▲11.18 | 93.92 ▲50.42 |
Guides & Recommendations /wp-admin/admin.php?page=spbhlpr | 1,328 | 2.10 | 26.37 | 98.97 |
Free Themes /wp-admin/admin.php?page=spbhlpr_themes | 1,501 | 1.74 | 25.09 | 83.60 |
Go Pro /wp-admin/admin.php?page=spbhlpr_gopro | 1,084 | 1.73 | 23.94 | 42.61 |
Free Plugins /wp-admin/admin.php?page=spbhlpr_plugins | 1,045 | 1.86 | 27.13 | 38.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/superb-helper/inc/backend.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/superb-helper/inc/page_themes.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/superb-helper/inc/page_plugins.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/superb-helper/inc/page_gopro.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
2 plugin tags: helper, superb
superb-helper/superb-helper.php Passed 13 tests
The entry point to "Superb Helper" version 1.1.0 is a PHP file that has certain tags in its header comment area
51 characters long description:
Superb Helper is your personal WordPress assistant.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin108,738 lines of code in 1,156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 56,383 |
SVG | 1,125 | 0 | 16 | 26,685 |
YAML | 1 | 0 | 0 | 20,935 |
CSS | 7 | 1,473 | 28 | 3,421 |
PHP | 19 | 227 | 270 | 1,245 |
JavaScript | 2 | 5 | 0 | 69 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 48 | |
▷ Static methods | 6 | 12.50% |
▷ Public methods | 40 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 16.67% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
48 PNG files occupy 2.53MB with 0.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/share-follow-buttons-small.png | 9.12KB | 4.05KB | ▼ 55.58% |
assets/img/personalblogily.png | 55.92KB | 56.32KB | 0.00% |
assets/img/fluid-basics.png | 71.73KB | 72.22KB | 0.00% |
assets/img/blogfeedly.png | 43.64KB | 43.71KB | 0.00% |
assets/img/woocommerce-logo.png | 3.02KB | 1.72KB | ▼ 42.90% |