Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.59MB] [CPU: ▲1.62ms] Passed 4 tests
A check of server-side resources used by Tabs & Accordion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.09 ▲1.62 | 55.88 ▲13.88 |
Dashboard /wp-admin | 4.92 ▲1.61 | 58.93 ▲4.22 |
Posts /wp-admin/edit.php | 4.97 ▲1.61 | 59.52 ▲7.35 |
Add New Post /wp-admin/post-new.php | 7.46 ▲1.57 | 95.68 ▼16.49 |
Media Library /wp-admin/upload.php | 4.78 ▲1.55 | 50.88 ▲11.41 |
All Tabs /wp-admin/edit.php?post_type=tabs | 4.88 | 48.04 |
Settings /wp-admin/edit.php?post_type=tabs&page=settings | 4.81 | 49.84 |
Add New /wp-admin/post-new.php?post_type=tabs | 5.07 | 62.58 |
Server storage [IO: ▲4.56MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 97 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_widget_tabs |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Tabs & Accordion
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲162 | 13.84 ▼0.41 | 10.09 ▲8.52 | 46.70 ▲3.98 |
Dashboard /wp-admin | 2,245 ▲68 | 5.55 ▼0.12 | 85.52 ▼1.64 | 85.60 ▲38.92 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.01 ▲0.01 | 37.66 ▼4.07 | 34.91 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,576 ▲50 | 23.15 ▼0.37 | 709.65 ▲89.81 | 168.56 ▲114.13 |
Media Library /wp-admin/upload.php | 1,447 ▲50 | 4.22 ▼0.01 | 99.78 ▼4.67 | 78.19 ▲35.62 |
All Tabs /wp-admin/edit.php?post_type=tabs | 1,123 | 1.94 | 33.11 | 33.29 |
Settings /wp-admin/edit.php?post_type=tabs&page=settings | 2,477 | 5.38 | 90.76 | 70.26 |
Add New /wp-admin/post-new.php?post_type=tabs | 5,564 | 7.61 | 203.55 | 117.52 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_widget_tabs
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #5 (screenshot-5), #6 (screenshot-6), #7 (screenshot-7), #8 (screenshot-8), #9 (screenshot-9), #10 (screenshot-10)
tabs/tabs.php Passed 13 tests
"Tabs & Accordion" version 1.3.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
65 characters long description:
Fully responsive and mobile ready tabs & accordion for wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin33,161 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 9,251 |
PHP | 44 | 4,129 | 223 | 8,365 |
CSS | 9 | 2,435 | 119 | 8,240 |
JavaScript | 5 | 950 | 968 | 7,305 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 82.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 663.00 |
Average method complexity | 12.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 70 | |
▷ Named functions | 70 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.14MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/semi-rounded.png | 6.93KB | 3.14KB | ▼ 54.74% |
assets/frontend/css/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |
assets/admin/images/tab.png | 14.40KB | 0.32KB | ▼ 97.80% |
assets/global/images/bg/small_steps.png | 0.16KB | 0.16KB | 0.00% |
assets/admin/images/tabs.png | 28.50KB | 8.45KB | ▼ 70.34% |