Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.46ms] Passed 4 tests
An overview of server-side resources used by Find Duplicates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.31 ▼1.68 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.09 ▼3.72 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 49.97 ▲1.51 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 89.60 ▼11.39 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 32.97 ▼1.03 |
Find duplicates /wp-admin/tools.php?page=find-duplicates/find-duplicates.php | 3.16 | 24.16 |
Find duplicates /wp-admin/options-general.php?page=find-duplicates/find-duplicates.php | 3.16 | 25.63 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
find_duplicates_data |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Find Duplicates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.21 ▼1.59 | 4.41 ▲2.66 | 41.64 ▼2.80 |
Dashboard /wp-admin | 2,216 ▲28 | 5.87 ▲0.98 | 106.57 ▼8.53 | 39.50 ▼2.82 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.03 ▲0.01 | 38.96 ▲1.53 | 34.66 ▲3.54 |
Add New Post /wp-admin/post-new.php | 1,526 ▼7 | 23.28 ▼0.17 | 660.64 ▼30.62 | 52.32 ▼13.18 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.18 ▼0.03 | 95.73 ▼11.32 | 43.24 ▼8.16 |
Find duplicates /wp-admin/tools.php?page=find-duplicates/find-duplicates.php | 1,112 | 2.16 | 58.64 | 30.82 |
Find duplicates /wp-admin/options-general.php?page=find-duplicates/find-duplicates.php | 1,294 | 2.19 | 42.95 | 30.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/tools.php?page=find-duplicates/find-duplicates.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method FindDuplicates::load_javascript() should not be called statically
- > GET request to /wp-admin/options-general.php?page=find-duplicates/find-duplicates.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method FindDuplicates::load_javascript_options() should not be called statically
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
Almost there! Just fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/find-duplicates/tpl/donation.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/find-duplicates/tpl/search.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/find-duplicates/tpl/options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/find-duplicates/tpl/metabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/find-duplicates/find-duplicates.php:12
- > 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Find duplicates), #2 (Find duplicates settings page)
find-duplicates/find-duplicates.php 92% from 13 tests
Analyzing the main PHP file in "Find Duplicates" version 1.4.6
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 260 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,358 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 95 | 27 | 910 |
JavaScript | 2 | 19 | 5 | 275 |
PO File | 1 | 54 | 59 | 124 |
CSS | 2 | 11 | 4 | 49 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 81.00 |
▷ Minimum class complexity | 81.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 23 | |
▷ Static methods | 21 | 91.30% |
▷ Public methods | 15 | 65.22% |
▷ Protected methods | 8 | 34.78% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
css/smoothness/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
css/smoothness/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |