Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1,154.92ms] Passed 4 tests
An overview of server-side resources used by Tabs Accordion Responsive
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.13 | 58.57 ▲4.89 |
Dashboard /wp-admin | 3.55 ▲0.14 | 32.46 ▼0.36 |
Posts /wp-admin/edit.php | 3.77 ▲0.12 | 44.72 ▲3.58 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.04 | 99.76 ▼4,623.16 |
Media Library /wp-admin/upload.php | 3.42 ▲0.13 | 25.93 ▲0.25 |
Add New /wp-admin/post-new.php?post_type=pstar_type | 3.78 | 46.39 |
Tabs Accordion /wp-admin/edit.php?post_type=pstar_type | 3.56 | 32.95 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Tabs Accordion Responsive
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,843 ▲89 | 16.28 ▲0.54 | 6.20 ▼0.10 | 2.77 ▲0.07 |
Dashboard /wp-admin | 2,934 ▲77 | 6.13 ▼0.02 | 129.50 ▼45.28 | 186.91 ▲23.11 |
Posts /wp-admin/edit.php | 2,734 ▲46 | 3.28 ▲0.05 | 68.57 ▲3.79 | 146.45 ▼4.18 |
Add New Post /wp-admin/post-new.php | 1,702 ▲41 | 19.54 ▲2.78 | 388.05 ▼63.66 | 219.73 ▲56.63 |
Media Library /wp-admin/upload.php | 1,749 ▲55 | 5.59 ▲0.06 | 140.21 ▲0.68 | 265.27 ▲77.51 |
Add New /wp-admin/post-new.php?post_type=pstar_type | 4,714 | 12.73 | 283.41 | 242.23 |
Tabs Accordion /wp-admin/edit.php?post_type=pstar_type | 1,672 | 5.11 | 92.80 | 109.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 50% 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 items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-accordion-responsive/tabs-accordion-responsive.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=pstar_type
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.2 1:31592 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/post-new.php?post_type=pstar_type:505:42)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.2:2:30340)" undefined
- > GET request to /wp-admin/post-new.php?post_type=pstar_type
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.2 1:31702 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: accordion, tabs, tab, responsive, shortcode
tabs-accordion-responsive/tabs-accordion-responsive.php Passed 13 tests
The principal PHP file in "Tabs Accordion Responsive" v. 1.0 is loaded by WordPress automatically on each request
80 characters long description:
Build your tabs, select a pre-built layout and display it thanks to a shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,411 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 114 | 48 | 1,707 |
PHP | 1 | 95 | 16 | 676 |
JavaScript | 2 | 10 | 13 | 28 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.48MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/tabs_layout/layout_12.PNG | 161.83KB | 45.03KB | ▼ 72.17% |
img/tabs_layout/layout_11.PNG | 161.82KB | 44.51KB | ▼ 72.50% |
img/tabs_delete.png | 0.41KB | 0.31KB | ▼ 23.75% |
img/tabs_layout/layout_16.PNG | 169.77KB | 48.32KB | ▼ 71.54% |
img/filling_space.png | 0.26KB | 0.13KB | ▼ 51.70% |