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.15MB] [CPU: ▼4.93ms] Passed 4 tests
Analyzing server-side resources used by Tabs & Pills
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.66 ▼3.14 |
Dashboard /wp-admin | 3.49 ▲0.19 | 46.95 ▼3.40 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 47.80 ▲0.60 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 88.31 ▼13.78 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 40.57 ▲7.94 |
Upgrade To Pro /wp-admin/admin.php?page=accbox_upgpro | 3.38 | 31.30 |
Add Tabs & Pills /wp-admin/post-new.php?post_type=cdlzr_tabs_box | 3.55 | 52.98 |
All Tabs & Pills /wp-admin/admin.php?page=cdlzr_tabspills_box | 3.37 | 28.30 |
Server storage [IO: ▲3.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Tabs & Pills
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲185 | 13.65 ▼0.73 | 8.07 ▲6.33 | 44.03 ▼7.38 |
Dashboard /wp-admin | 2,250 ▲61 | 5.87 ▲0.90 | 111.10 ▼9.84 | 71.62 ▲24.56 |
Posts /wp-admin/edit.php | 2,129 ▲58 | 2.00 ▼0.02 | 43.41 ▲6.37 | 38.03 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,704 ▲162 | 22.87 ▲4.72 | 655.40 ▼4.81 | 57.87 ▼12.32 |
Media Library /wp-admin/upload.php | 1,432 ▲47 | 4.13 ▼0.11 | 116.42 ▲9.35 | 48.22 ▲4.85 |
Upgrade To Pro /wp-admin/admin.php?page=accbox_upgpro | 950 | 2.01 | 24.07 | 64.43 |
Add Tabs & Pills /wp-admin/post-new.php?post_type=cdlzr_tabs_box | 3,632 | 8.29 | 206.84 | 186.41 |
All Tabs & Pills /wp-admin/admin.php?page=cdlzr_tabspills_box | 1,785 | 2.76 | 37.38 | 35.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: There are too many tags (22 tag instead of maximum 10)
- Screenshots: Add descriptions for screenshots #1, #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in tabs-pills/assets to your readme.txt
tabs-pills/tabs-pills.php 85% from 13 tests
Analyzing the main PHP file in "Tabs & Pills" version 1.6
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: Keep the plugin description shorter than 140 characters (currently 215 characters long)
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
No dangerous file extensions were detected11,116 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,445 |
PHP | 14 | 174 | 78 | 1,361 |
CSS | 6 | 41 | 41 | 208 |
JavaScript | 6 | 33 | 58 | 102 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 35 | |
▷ Static methods | 26 | 74.29% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.71% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.32MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo/tabsboxmenu.png | 0.73KB | 0.49KB | ▼ 33.20% |
admin/assets/images/tabspills.PNG | 123.64KB | 37.04KB | ▼ 70.04% |
admin/assets/images/style4.PNG | 39.30KB | 15.78KB | ▼ 59.86% |
admin/assets/images/style3.PNG | 43.19KB | 20.40KB | ▼ 52.78% |
admin/assets/images/style2.PNG | 47.41KB | 23.66KB | ▼ 50.09% |