Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/horizontal-tabs/horizontalTabs.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; horizontal_tabs_widget has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼51.68ms] Passed 4 tests
A check of server-side resources used by Horizontal Tabs Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.13 ▼30.95 |
Dashboard /wp-admin | 2.11 ▼1.23 | 6.20 ▼49.12 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 5.46 ▼42.90 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 6.15 ▼83.74 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.51 ▼27.97 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_horizontal_tabs_widget |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Horizontal Tabs Plugin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.45 ▼1.20 | 9.45 ▲7.89 | 42.30 ▲3.56 |
Dashboard /wp-admin | 2,198 ▲18 | 5.55 ▼0.08 | 89.73 ▲2.26 | 44.02 ▼1.47 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.01 | 34.72 ▼3.31 | 34.17 ▼1.97 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.61 ▼0.14 | 603.37 ▼83.85 | 50.12 ▼11.71 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.05 | 94.38 ▼6.06 | 41.39 ▼4.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/horizontal-tabs/horizontalTabs.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; horizontal_tabs_widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_horizontal_tabs_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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
Everything seems fine, however this is by no means 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/horizontal-tabs/horizontalTabs.php:14
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (screenshot-1.jpeg .) image missing
horizontal-tabs/horizontalTabs.php 92% from 13 tests
The main file in "Horizontal Tabs Plugin" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("horizontal-tabs.php" instead of "horizontalTabs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,315 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 37 | 76 | 1,156 |
PHP | 1 | 46 | 11 | 159 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-bg_diagonals-thick_18_b81900_40x40.png | 0.45KB | 0.15KB | ▼ 65.65% |
images/ui-bg_glass_65_ffffff_1x400.png | 0.24KB | 0.09KB | ▼ 64.23% |
images/ui-bg_flat_10_000000_40x100.png | 0.24KB | 0.08KB | ▼ 64.34% |
images/ui-icons_222222_256x240.png | 6.84KB | 4.18KB | ▼ 38.88% |
images/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.31KB | 0.14KB | ▼ 54.26% |