Benchmarks
Plugin footprint 82% 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.00MB] [CPU: ▼12.34ms] 75% from 4 tests
Server-side resources used by Vanilla Bean - Meta Maid
Please have a look at the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 635.38ms on /wp-admin/admin.php?page=vanillabeans-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.80 ▼1.05 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.84 ▼18.47 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.07 ▼7.57 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.65 ▼21.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.13 ▼2.19 |
Meta Maid /wp-admin/admin.php?page=vanilla-bean-meta-maid/vanilla-bean-meta-maid.php | 3.20 | 33.62 |
Vanilla Beans /wp-admin/admin.php?page=vanillabeans-settings | 3.54 | 635.38 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Vanilla Bean - Meta Maid
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 14.14 ▼0.43 | 1.85 ▲0.28 | 39.33 ▲1.55 |
Dashboard /wp-admin | 2,220 ▲49 | 5.65 ▲0.07 | 79.02 ▼8.18 | 78.59 ▲36.95 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 1.98 ▼0.01 | 33.71 ▼9.67 | 34.11 ▼3.49 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.53 ▲0.33 | 782.14 ▲183.07 | 52.51 ▼11.09 |
Media Library /wp-admin/upload.php | 1,422 ▲19 | 4.11 ▼0.09 | 93.79 ▼4.41 | 71.84 ▲28.51 |
Meta Maid /wp-admin/admin.php?page=vanilla-bean-meta-maid/vanilla-bean-meta-maid.php | 934 | 2.12 | 21.83 | 22.64 |
Vanilla Beans /wp-admin/admin.php?page=vanillabeans-settings | 1,475 | 2.17 | 23.74 | 31.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function VanillaBeans\\MetaMaid\\add_action() in wp-content/plugins/vanilla-bean-meta-maid/inc/meta-maid.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== vanilla-bean-meta-maid ===
)
vanilla-bean-meta-maid/vanilla-bean-meta-maid.php Passed 13 tests
The principal PHP file in "Vanilla Bean - Meta Maid" v. 2.0.4 is loaded by WordPress automatically on each request
38 characters long description:
Simple header and footer code injector
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
Good job! No executable or dangerous file extensions detected1,574 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 1 | 2 | 868 |
PHP | 4 | 131 | 67 | 706 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in 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 | 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 | 14 | |
▷ Named functions | 14 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vicon32.png | 2.21KB | 1.37KB | ▼ 38.29% |
vicon.png | 1.86KB | 0.98KB | ▼ 47.22% |