Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.18ms] Passed 4 tests
Server-side resources used by Hello Simpsons Chalkboard Gag
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.91 ▼1.43 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.48 ▼12.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.49 ▲1.64 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.22 ▼0.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.44 ▲3.43 |
Server storage [IO: ▲0.02MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
simpsons-gags |
widget_recent-comments |
widget_theysaidso_widget |
simpsons-first-run |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Hello Simpsons Chalkboard Gag
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲34 | 13.26 ▼1.12 | 1.70 ▼0.21 | 38.18 ▼9.23 |
Dashboard /wp-admin | 2,211 ▲23 | 5.01 ▼0.88 | 107.83 ▼6.80 | 42.50 ▼2.46 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▲0.06 | 38.52 ▲2.01 | 35.70 ▼7.81 |
Add New Post /wp-admin/post-new.php | 1,587 ▲50 | 22.11 ▼1.08 | 660.60 ▲2.23 | 39.36 ▼13.16 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.19 ▼0.01 | 95.69 ▼1.76 | 46.28 ▲5.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- 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
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/hello-simpsons-chalkboard-gag/hello-simpsons-chalkboard-gag.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: fun, hello dolly, admin panel, bart simpson, simpsons...
hello-simpsons-chalkboard-gag/hello-simpsons-chalkboard-gag.php Passed 13 tests
This is the main PHP file of "Hello Simpsons Chalkboard Gag" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
115 characters long description:
Let Bart Simpson's childish wit lighten your day by randomly adding one of his chalkboard gags to your admin panel.
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 plugin77 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 33 | 77 |
PHP code Passed 2 tests
Analyzing 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.52 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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