Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.30ms] Passed 4 tests
Server-side resources used by TabUtility
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.51 ▲4.87 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.02 ▼2.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.71 ▲3.15 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.64 ▼7.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.25 ▼2.31 |
TabUtility /wp-admin/options-general.php?page=tabutility | 3.23 | 31.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
TabUtility: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.36 ▼1.22 | 1.56 ▼0.22 | 40.40 ▼7.67 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.97 | 103.77 ▼2.69 | 40.63 ▼1.19 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.03 | 35.50 ▲1.37 | 32.34 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,517 ▼26 | 17.54 ▼0.54 | 670.44 ▲25.76 | 55.32 ▼4.14 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.00 | 97.06 ▼0.98 | 40.75 ▼4.85 |
TabUtility /wp-admin/options-general.php?page=tabutility | 986 | 2.02 | 27.39 | 30.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tabutility/includeIcons.php
- > /wp-content/plugins/tabutility/includeFonts2.php
- > /wp-content/plugins/tabutility/includeButton.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabutility/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabutility/options.php:3
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
9 plugin tags: bounce, attention, tabs, flash, tab...
tabutility/TabUtility.php 92% from 13 tests
Analyzing the main PHP file in "TabUtility" version 1.0
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tabutility.php" instead of "TabUtility.php")
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin621 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 119 | 12 | 314 |
JavaScript | 1 | 118 | 19 | 307 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/warning.png | 4.13KB | 1.44KB | ▼ 65.15% |
icons/info.png | 3.63KB | 1.03KB | ▼ 71.67% |
icons/blank.png | 0.18KB | 0.09KB | ▼ 46.70% |
screenshot1.png | 13.45KB | 6.25KB | ▼ 53.51% |
icons/clock.png | 5.01KB | 1.68KB | ▼ 66.41% |