Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.39ms] Passed 4 tests
Server-side resources used by Auto Delete Post - Ultimate plugin for deleting a post automatically
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.00 ▼5.34 |
Dashboard /wp-admin | 3.34 ▼0.00 | 49.82 ▼14.94 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 52.36 ▲2.13 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.44 ▼11.42 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.73 ▲7.14 |
/wp-admin/admin.php?page=adp-post-list | 3.25 | 36.97 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto Delete Post - Ultimate plugin for deleting a post automatically
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲42 | 14.28 ▼0.45 | 1.59 ▼0.37 | 40.86 ▼5.22 |
Dashboard /wp-admin | 2,222 ▲45 | 5.63 ▼0.01 | 85.45 ▼3.51 | 44.98 ▼3.43 |
Posts /wp-admin/edit.php | 2,124 ▲21 | 2.16 ▲0.18 | 34.83 ▼7.62 | 39.10 ▼0.60 |
Add New Post /wp-admin/post-new.php | 6,292 ▲4,761 | 21.08 ▼1.98 | 881.96 ▲221.33 | 78.71 ▲25.73 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.23 ▲0.05 | 108.22 ▲5.25 | 46.95 ▲3.94 |
/wp-admin/admin.php?page=adp-post-list | 816 | 2.03 | 25.14 | 24.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/auto-delete-post/auto-delete-post.php:25
- > 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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: delete post after a certain time, delete page, delete custom post type, automatic delete post, delete post...
auto-delete-post/auto-delete-post.php 92% from 13 tests
This is the main PHP file of "Auto Delete Post - Ultimate plugin for deleting a post automatically" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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 detected153 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 35 | 149 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG images were found in this plugin