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
Install script ran successfully
Server metrics [RAM: ▼0.17MB] [CPU: ▼14.29ms] Passed 4 tests
An overview of server-side resources used by GutenIpsum
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 43.32 ▼3.03 |
Dashboard /wp-admin | 3.36 ▲0.02 | 43.61 ▼10.56 |
Posts /wp-admin/edit.php | 3.41 ▲0.02 | 52.22 ▲1.16 |
Add New Post /wp-admin/post-new.php | 5.19 ▼0.73 | 64.51 ▼38.56 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 36.02 ▼5.02 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by GutenIpsum
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.35 ▲0.01 | 1.68 ▼0.21 | 45.92 ▼0.97 |
Dashboard /wp-admin | 2,195 ▲21 | 5.55 ▼0.02 | 81.22 ▼12.57 | 37.06 ▼3.60 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.04 | 36.02 ▼3.20 | 34.70 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.38 ▲0.28 | 694.03 ▲21.62 | 59.14 ▲6.16 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.22 ▲0.06 | 95.21 ▼19.97 | 43.24 ▼5.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Derweili\\Content_Templates\\add_action() in wp-content/plugins/gutenipsum/lib/register-blocks.php:5
- > register script file
- > PHP Fatal error
Uncaught Error: Call to undefined function Derweili\\Content_Templates\\add_filter() in wp-content/plugins/gutenipsum/lib/block-categories.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function Derweili\\GutenIpsum\\add_action() in wp-content/plugins/gutenipsum/lib/register-scripts.php:92
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (screenshot-1.png) image not found
gutenipsum/plugin.php 92% from 13 tests
"GutenIpsum" version 1.0.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gutenipsum.php" instead of "plugin.php")
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
There were no executable files found in this plugin12,004 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 11,505 |
JavaScript | 6 | 28 | 84 | 325 |
PHP | 4 | 44 | 64 | 101 |
Bourne Shell | 1 | 8 | 8 | 30 |
Sass | 1 | 0 | 0 | 19 |
Markdown | 1 | 6 | 0 | 14 |
CSS | 3 | 4 | 3 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 2 | |
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 | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
No PNG images were found in this plugin