Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.83ms] Passed 4 tests
This is a short check of server-side resources used by Simple Definition List Blocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.48 ▼4.91 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.83 ▼2.18 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.45 ▲5.13 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.93 ▼9.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.30 ▲1.76 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Definition List Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.22 ▼0.13 | 1.74 ▼0.04 | 40.15 ▼7.14 |
Dashboard /wp-admin | 2,192 ▲15 | 5.65 ▼0.01 | 92.11 ▲2.17 | 43.67 ▼3.15 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▲0.01 | 40.76 ▲6.11 | 37.85 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,694 ▲168 | 22.33 ▼0.80 | 586.94 ▼16.79 | 33.96 ▼14.98 |
Media Library /wp-admin/upload.php | 1,391 ▼9 | 4.16 ▼0.14 | 98.52 ▼16.98 | 40.52 ▼2.53 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: blocks, posts
simple-definition-list-blocks/simple-definition-list-blocks.php 92% from 13 tests
"Simple Definition List Blocks" version 6.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("5.6" instead of "5.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin24,786 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 13 | 0 | 0 | 24,368 |
JavaScript | 21 | 35 | 17 | 273 |
Markdown | 1 | 17 | 0 | 45 |
XML | 2 | 4 | 7 | 44 |
YAML | 2 | 6 | 10 | 38 |
PHP | 6 | 4 | 18 | 18 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin