Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.71ms] Passed 4 tests
An overview of server-side resources used by Replace Content Image Size
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.10 ▲0.15 |
Dashboard /wp-admin | 3.37 ▲0.02 | 47.11 ▼16.22 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 42.73 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.05 ▼9.55 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.60 ▲7.07 |
Replace Content Image Size /wp-admin/tools.php?page=replace-content-image-size | 3.23 | 28.68 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Replace Content Image Size
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.57 ▲0.20 | 1.69 ▲0.13 | 41.68 ▲1.63 |
Dashboard /wp-admin | 2,199 ▲21 | 5.54 ▼0.16 | 83.04 ▼16.08 | 37.73 ▼7.34 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.13 | 33.80 ▼3.15 | 34.80 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 22.87 ▲0.04 | 650.02 ▼21.39 | 58.12 ▲0.50 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.20 ▲0.05 | 111.42 ▲1.39 | 47.05 ▼2.65 |
Replace Content Image Size /wp-admin/tools.php?page=replace-content-image-size | 818 | 2.00 | 24.32 | 33.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/tools.php?page=replace-content-image-size
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/tools.php?page=replace-content-image-size
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: content, image, resize, image sizes, size...
replace-content-image-size/replace-content-image-size.php Passed 13 tests
This is the main PHP file of "Replace Content Image Size" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
110 characters long description:
Find images displayed in posts content and change the format size, very useful when you change the blog theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin348 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 149 | 109 | 275 |
PO File | 1 | 26 | 26 | 73 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 87.00 |
▷ Minimum class complexity | 87.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 13.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 3 | 42.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 57.14% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin