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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.58ms] Passed 4 tests
A check of server-side resources used by Remove Post Using Ajax in Admin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.61 ▼7.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.72 ▼6.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.62 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 79.41 ▼23.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.03 ▲0.21 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Remove Post Using Ajax in Admin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.21 ▼0.94 | 1.62 ▼0.21 | 40.51 ▼4.10 |
Dashboard /wp-admin | 2,208 ▲20 | 4.90 ▲0.02 | 111.66 ▼9.06 | 38.70 ▼8.36 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.02 ▼0.00 | 39.65 ▲3.97 | 34.11 ▼3.72 |
Add New Post /wp-admin/post-new.php | 1,542 ▲20 | 18.42 ▼4.74 | 635.63 ▼34.44 | 49.16 ▼24.67 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.29 ▲0.05 | 97.22 ▼1.07 | 45.31 ▲3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
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 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: "#"
- Screenshots: Screenshot #1 (Delete post using ajax) image required
remove-post-using-ajax-in-admin/remove-post-using-ajax-admin.php 77% from 13 tests
The main PHP file in "Remove Post Using Ajax in Admin" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("remove-post-using-ajax-in-admin.php" instead of "remove-post-using-ajax-admin.php")
- 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin53 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 13 | 31 |
JavaScript | 1 | 7 | 6 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected