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.05MB] [CPU: ▼7.01ms] Passed 4 tests
Server-side resources used by Next Accordion - Best Accordion Block for Gutenberg
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.77 ▲0.99 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.75 ▼8.00 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.42 ▼6.57 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 94.65 ▼14.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.05 ▲1.25 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 9 new options
New WordPress options |
---|
next_accordion_block_version |
theysaidso_admin_options |
widget_recent-posts |
next_accordion_block_activation_date |
widget_recent-comments |
next_accordion_block_first_version |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Next Accordion - Best Accordion Block for Gutenberg: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.25 ▼1.00 | 2.46 ▲0.60 | 43.35 ▲3.39 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▼0.07 | 102.06 ▼10.02 | 39.64 ▼4.09 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.00 | 39.98 ▼0.60 | 35.32 ▼1.35 |
Add New Post /wp-admin/post-new.php | 6,427 ▲4,885 | 28.51 ▲10.12 | 824.93 ▲207.40 | 36.73 ▼13.37 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.23 ▲0.06 | 94.82 ▼1.63 | 41.78 ▲0.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- next_accordion_block_activation_date
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- next_accordion_block_first_version
- next_accordion_block_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Tags: Too many tags (29 tag instead of maximum 10); only the first 5 tags are used in your directory listing
next-accordion-block/next-accordion-blocks.php 85% from 13 tests
"Next Accordion - Best Accordion Block for Gutenberg" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("next-accordion-block.php" instead of "next-accordion-blocks.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,646 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 6 | 365 | 206 | 1,599 |
CSS | 5 | 20 | 17 | 143 |
JSON | 2 | 0 | 0 | 119 |
PHP | 4 | 25 | 101 | 114 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There were not PNG files found in your plugin