Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.45ms] Passed 4 tests
Analyzing server-side resources used by Inazo's flamingo automatically delete old messages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.14 ▼0.97 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.95 ▼2.16 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 51.39 ▼7.96 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.73 ▼17.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.38 ▼1.93 |
Flamingo auto trash /wp-admin/options-general.php?page=inazo.flamingo.auto.trash.config | 3.23 | 33.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
inazo_flamingo_auto_trash_contact_days |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
inazo_flamingo_auto_trash_outbound_days |
inazo_flamingo_auto_trash_inbound_days |
theysaidso_admin_options |
widget_recent-posts |
inazo_flamingo_auto_trash_version |
Browser metrics Passed 4 tests
A check of browser resources used by Inazo's flamingo automatically delete old messages
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.68 ▼0.62 | 1.71 ▼0.02 | 43.91 ▼2.14 |
Dashboard /wp-admin | 2,219 ▲16 | 5.83 ▲0.80 | 99.69 ▼6.94 | 39.69 ▼1.25 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▼0.05 | 38.56 ▼1.90 | 37.99 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,552 ▼2 | 23.47 ▲5.06 | 662.89 ▲46.09 | 53.77 ▲2.21 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.19 ▼0.02 | 95.74 ▼8.18 | 46.26 ▼1.27 |
Flamingo auto trash /wp-admin/options-general.php?page=inazo.flamingo.auto.trash.config | 820 | 2.05 | 22.83 | 26.54 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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 SRP test was a success
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 93% 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 your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== inazo-flamingo-automatically-delete-old-messages ===
)
inazo-flamingo-automatically-delete-old-messages/inazo-flamingo-automatically-delete-old-messages.php 92% from 13 tests
The principal PHP file in "Inazo's flamingo automatically delete old messages" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected159 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 77 | 43 | 135 |
PO File | 1 | 6 | 12 | 24 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
There are no PNG files in this plugin