Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.41MB] [CPU: ▲24.76ms] 50% from 4 tests
Server-side resources used by Responsive Accordion Tabs
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 2,183.94ms on /wp-admin/options-general.php?page=ratabs-settings-group)
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.41MB on /wp-admin/post-new.php?post_type=accordion-tabs)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.21 ▲5.75 | 70.96 ▲27.22 |
Dashboard /wp-admin | 9.23 ▲5.92 | 74.09 ▲25.37 |
Posts /wp-admin/edit.php | 9.23 ▲5.87 | 70.64 ▲18.75 |
Add New Post /wp-admin/post-new.php | 9.97 ▲4.09 | 126.22 ▲27.71 |
Media Library /wp-admin/upload.php | 9.23 ▲6.00 | 69.09 ▲34.37 |
Freemius Debug [v.2.5.9] /wp-admin/admin.php?page=freemius | 9.23 | 56.81 |
All Accordion Tabs /wp-admin/edit.php?post_type=accordion-tabs | 9.23 | 62.07 |
Accordion Tabs /wp-admin/options-general.php?page=ratabs-settings-group | 9.23 | 2,183.94 |
Add New /wp-admin/post-new.php?post_type=accordion-tabs | 9.23 | 69.14 |
Server storage [IO: ▲3.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 205 new files
Database: no new tables, 11 new options
New WordPress options |
---|
ratabs_settings_defaults |
db_upgraded |
ratabs_version |
fs_debug_mode |
fs_active_plugins |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
fs_accounts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Responsive Accordion Tabs: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲150 | 13.57 ▼0.73 | 1.84 ▲0.00 | 30.86 ▼19.31 |
Dashboard /wp-admin | 2,279 ▲88 | 5.16 ▲0.26 | 107.13 ▲4.31 | 44.97 ▲1.59 |
Posts /wp-admin/edit.php | 2,169 ▲77 | 2.37 ▲0.31 | 41.01 ▼4.60 | 37.99 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,570 ▲36 | 23.31 ▲0.21 | 648.79 ▲53.95 | 33.81 ▼12.67 |
Media Library /wp-admin/upload.php | 1,467 ▲85 | 4.44 ▲0.21 | 99.92 ▲1.39 | 45.64 ▲2.11 |
Freemius Debug [v.2.5.9] /wp-admin/admin.php?page=freemius | 1,143 | 2.10 | 29.24 | 28.85 |
All Accordion Tabs /wp-admin/edit.php?post_type=accordion-tabs | 1,155 | 2.29 | 34.67 | 30.22 |
Accordion Tabs /wp-admin/options-general.php?page=ratabs-settings-group | 1,038 | 2.09 | 27.90 | 61.81 |
Add New /wp-admin/post-new.php?post_type=accordion-tabs | 2,548 | 7.85 | 177.83 | 70.13 |
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
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/responsive-accordion-tabs/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 11 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- ratabs_settings_defaults
- fs_active_plugins
- widget_recent-comments
- fs_accounts
- ratabs_version
- fs_debug_mode
- widget_theysaidso_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=accordion-tabs
- > Notice in wp-content/plugins/responsive-accordion-tabs/includes/admin/class-posts.php+257
Undefined variable: key
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Example of transparent theme), #2 (Example of dark theme), #3 (Example of light theme), #4 (Styles admin page (Pro version)), #5 (Mobile accordion view)
- Requires at least: Version format is invalid
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
responsive-accordion-tabs/responsive-accordion-tabs.php Passed 13 tests
Analyzing the main PHP file in "Responsive Accordion Tabs" version 1.4.1
70 characters long description:
Add tabs to your website that convert to accordions on smaller screens
Code Analysis 97% from 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 plugin37,339 lines of code in 158 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,202 | 17,282 | 34,648 |
JavaScript | 9 | 207 | 330 | 1,376 |
CSS | 18 | 45 | 54 | 1,298 |
JSON | 1 | 0 | 0 | 17 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,079)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 80.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,079.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,342 | |
▷ Static methods | 199 | 14.83% |
▷ Public methods | 953 | 71.01% |
▷ Protected methods | 17 | 1.27% |
▷ Private methods | 372 | 27.72% |
Functions | 95 | |
▷ Named functions | 95 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/responsive-accordion-tabs.png | 27.21KB | 11.04KB | ▼ 59.42% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |