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.07MB] [CPU: ▼2.81ms] Passed 4 tests
Analyzing server-side resources used by WP Media Overwrite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 42.71 ▲2.76 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.78 ▼1.92 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.79 ▲3.40 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.21 ▼12.90 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 40.17 ▲0.83 |
WP Media Overwrite /wp-admin/upload.php?page=wp-media-overwrite | 3.25 | 29.66 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Media Overwrite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.75 ▲0.40 | 1.65 ▼0.07 | 42.50 ▲0.45 |
Dashboard /wp-admin | 2,202 ▲21 | 5.59 ▼0.11 | 87.28 ▼16.42 | 39.13 ▼1.71 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.13 ▲0.16 | 39.63 ▲0.87 | 36.90 ▲2.14 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.26 ▲0.12 | 658.79 ▲34.54 | 54.40 ▼1.03 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.12 ▼0.06 | 99.44 ▼0.90 | 46.01 ▲1.75 |
WP Media Overwrite /wp-admin/upload.php?page=wp-media-overwrite | 809 | 1.99 | 25.80 | 28.18 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/upload.php?page=wp-media-overwrite
- > Notice in wp-content/plugins/wp-media-overwrite/core/includes/classes/class-wp-media-overwrite-run.php+217
Trying to access array offset on value of type bool
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #1 is missing in wp-media-overwrite/assets to your readme.txt
- Tags: No valid plugin tags found
wp-media-overwrite/wp-media-overwrite.php Passed 13 tests
Analyzing the main PHP file in "WP Media Overwrite" version 1.0.0
96 characters long description:
Replaces files automatically which have the same file name and are stored within the same folder
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin284 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 121 | 408 | 284 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 22 | 88.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 12.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
No PNG images were found in this plugin