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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.51ms] Passed 4 tests
Analyzing server-side resources used by SB Children block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.14 ▲1.75 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.30 ▼6.10 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.69 ▼7.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.39 ▼6.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.06 ▼2.07 |
Server storage [IO: ▲0.53MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SB Children block
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.37 ▲0.02 | 1.72 ▲0.01 | 38.18 ▼6.49 |
Dashboard /wp-admin | 2,192 ▲15 | 5.53 ▼0.04 | 82.69 ▼0.62 | 38.21 ▼3.26 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.08 ▲0.06 | 39.94 ▼1.05 | 35.10 ▼4.40 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,840 | 27.64 ▲4.16 | 840.78 ▲142.42 | 64.01 ▲2.47 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.02 | 95.35 ▲0.06 | 43.94 ▲3.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-children-block/sb-children-block.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tested up to: Version format is invalid
sb-children-block/sb-children-block.php Passed 13 tests
The primary PHP file in "SB Children block" version 1.2.3 is used by WordPress to initiate all plugin functionality
46 characters long description:
List children of the current content as links.
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 plugin13,662 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 2 | 0 | 13,456 |
PO File | 2 | 26 | 20 | 94 |
JavaScript | 5 | 11 | 69 | 41 |
PHP | 2 | 4 | 55 | 26 |
Markdown | 1 | 12 | 0 | 25 |
Sass | 2 | 8 | 0 | 19 |
CSS | 2 | 1 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin