Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.86MB] [CPU: ▼216.03ms] Passed 4 tests
Analyzing server-side resources used by Master Accordion - Accordion, FAQ, Tabs, Shortcode & Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.93 | 43.01 ▲21.51 |
Dashboard /wp-admin | 3.92 ▲0.86 | 62.57 ▲12.90 |
Posts /wp-admin/edit.php | 3.97 ▲0.86 | 54.44 ▲5.11 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.84 | 105.63 ▼891.70 |
Media Library /wp-admin/upload.php | 3.86 ▲0.86 | 39.99 ▲9.57 |
All Settings /wp-admin/edit.php?post_type=master-accordion&page=master-settings | 3.77 | 35.97 |
All Accordions /wp-admin/edit.php?post_type=master-accordion | 3.90 | 43.12 |
Accordion Category /wp-admin/edit-tags.php?taxonomy=accordion-category&post_type=master-accordion | 3.86 | 41.15 |
Add New /wp-admin/post-new.php?post_type=master-accordion | 3.98 | 63.81 |
Shortcode Generator /wp-admin/edit.php?post_type=master-accordion&page=mran-shortcode-generator | 3.77 | 38.11 |
All Tabs /wp-admin/edit.php?post_type=master-tabs | 3.90 | 38.72 |
Server storage [IO: ▲1.50MB] [DB: ▲0.51MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 73 new files
Database: no new tables, 5 new options
New WordPress options |
---|
widget_mran_accordion_widget |
widget_mran_term_tab_widget |
widget_mran_term_accordion_widget |
widget_mran_tab_widget |
widget_mran_accordion_nav_menu |
Browser metrics Passed 4 tests
A check of browser resources used by Master Accordion - Accordion, FAQ, Tabs, Shortcode & Widgets
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,928 ▲315 | 17.01 ▲1.01 | 14.79 ▲0.51 | 50.49 ▲1.69 |
Dashboard /wp-admin | 3,051 ▲123 | 6.60 ▲0.51 | 146.77 ▼50.64 | 109.72 ▼10.69 |
Posts /wp-admin/edit.php | 2,850 ▲111 | 3.04 ▲0.33 | 78.93 ▲6.69 | 100.06 ▲7.18 |
Add New Post /wp-admin/post-new.php | 1,684 ▲12 | 21.75 ▲2.94 | 318.20 ▼85.24 | 114.63 ▲11.48 |
Media Library /wp-admin/upload.php | 1,912 ▲102 | 5.49 ▲0.47 | 150.55 ▼20.82 | 118.43 ▲4.46 |
All Settings /wp-admin/edit.php?post_type=master-accordion&page=master-settings | 1,375 | 2.59 | 69.14 | 102.60 |
All Accordions /wp-admin/edit.php?post_type=master-accordion | 1,567 | 2.96 | 67.10 | 67.55 |
Accordion Category /wp-admin/edit-tags.php?taxonomy=accordion-category&post_type=master-accordion | 1,940 | 2.63 | 64.39 | 81.89 |
Add New /wp-admin/post-new.php?post_type=master-accordion | 3,488 | 9.32 | 276.16 | 156.48 |
Shortcode Generator /wp-admin/edit.php?post_type=master-accordion&page=mran-shortcode-generator | 12,216 | 4.48 | 261.51 | 105.29 |
All Tabs /wp-admin/edit.php?post_type=master-tabs | 1,595 | 2.73 | 74.20 | 83.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.51MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 5 options
- widget_mran_term_accordion_widget
- widget_mran_accordion_widget
- widget_mran_tab_widget
- widget_mran_accordion_nav_menu
- widget_mran_term_tab_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/master-accordion/includes/posttype/index.php
- > /wp-content/plugins/master-accordion/includes/widgets/index.php
- > /wp-content/plugins/master-accordion/includes/shortcodes/index.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/master-accordion/includes/optionpage/class-mran-settings-page.php:241
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/master-accordion/includes/optionpage/class-mran-shortcode-generator.php:377
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=master-accordion&page=master-settings
- > Network (severe)
https://ps.w.org/sharing-plus/assets/banner-772x250.png?rev=1717682 - Failed to load resource: the server responded with a status of 404 ()
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 to be fixed:
- Tags: Too many tags (27 tag instead of maximum 10); only the first 5 tags are used in your directory listing
master-accordion/master-accordion.php 92% from 13 tests
The main PHP script in "Master Accordion - Accordion, FAQ, Tabs, Shortcode & Widgets" version 1.0.3 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin11,095 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 735 | 1,053 | 3,329 |
CSS | 7 | 71 | 87 | 3,010 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 5 | 139 | 1 | 1,486 |
Sass | 13 | 64 | 0 | 599 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 2 | 1.40% |
▷ Public methods | 136 | 95.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 4.90% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/img/themecentury.png | 6.38KB | 4.65KB | ▼ 27.11% |