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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.16ms] Passed 4 tests
This is a short check of server-side resources used by TIEdupedeleter Simple Duplicate Post Deleter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.58 ▼10.01 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.08 ▼4.97 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.17 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.69 ▲6.40 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.38 ▲0.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 10 new options
New WordPress options |
---|
TIEdupedeleter_powerbutton |
TIEdupedeleter_newoldradio |
TIEdupedeleter_catsradio |
db_upgraded |
theysaidso_admin_options |
TIEdupedeleter_status_published |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for TIEdupedeleter Simple Duplicate Post Deleter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.21 ▼1.38 | 1.65 ▼0.08 | 41.46 ▼2.42 |
Dashboard /wp-admin | 2,222 ▲40 | 5.88 ▲0.97 | 106.91 ▼10.78 | 42.67 ▼1.36 |
Posts /wp-admin/edit.php | 2,105 ▲19 | 2.01 ▲0.02 | 39.54 ▲1.03 | 34.65 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.38 ▲0.24 | 625.58 ▼68.09 | 49.89 ▼9.25 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.30 ▲0.10 | 97.13 ▼7.82 | 41.13 ▼5.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- TIEdupedeleter_status_published
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- TIEdupedeleter_catsradio
- TIEdupedeleter_powerbutton
- widget_recent-comments
- widget_recent-posts
- TIEdupedeleter_newoldradio
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tiedupedeleter-simple-duplicate-post-deleter/TIEdupedeleter.php:15
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
tiedupedeleter-simple-duplicate-post-deleter/TIEdupedeleter.php 92% from 13 tests
The primary PHP file in "TIEdupedeleter Simple Duplicate Post Deleter" version 1.0.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("tiedupedeleter-simple-duplicate-post-deleter.php" instead of "TIEdupedeleter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected159 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 31 | 159 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
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 | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dupe.png | 2.40KB | 1.62KB | ▼ 32.38% |
donate.png | 3.91KB | 1.98KB | ▼ 49.29% |