Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲1.27ms] Passed 4 tests
Analyzing server-side resources used by Simple Revisions Delete
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 39.39 ▼2.20 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.18 ▼1.87 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 53.87 ▲7.53 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 105.66 ▲11.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 39.18 ▲1.63 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Revisions Delete
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.35 ▼0.05 | 2.08 ▲0.41 | 39.61 ▼5.07 |
Dashboard /wp-admin | 2,206 ▲28 | 5.63 ▼0.07 | 92.50 ▼15.20 | 42.64 ▲2.18 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.02 ▲0.00 | 42.27 ▲4.21 | 36.30 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,553 ▲18 | 18.33 ▼2.69 | 617.91 ▼36.59 | 72.30 ▲13.51 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.25 ▲0.02 | 98.99 ▼11.11 | 44.40 ▼3.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/simple-revisions-delete/wp-simple-revisions-delete-gutenberg.php
- > /wp-content/plugins/simple-revisions-delete/wp-simple-revisions-delete-bulk.php
- > /wp-content/plugins/simple-revisions-delete/wp-simple-revisions-delete-single.php
- > /wp-content/plugins/simple-revisions-delete/wp-simple-revisions-delete.php
- > /wp-content/plugins/simple-revisions-delete/wp-simple-revisions-delete-functions.php
- > /wp-content/plugins/simple-revisions-delete/wp-simple-revisions-delete-once.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: gutenberg, revisions, delete, purge, cleanup
simple-revisions-delete/wp-simple-revisions-delete.php 85% from 13 tests
Analyzing the main PHP file in "Simple Revisions Delete" version 1.5.1
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 148 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-revisions-delete.php" instead of "wp-simple-revisions-delete.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected784 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 105 | 137 | 416 |
PO File | 3 | 66 | 157 | 198 |
JavaScript | 2 | 14 | 18 | 170 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 19 | |
▷ Named functions | 19 | 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
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