Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.58ms] Passed 4 tests
An overview of server-side resources used by WP Recreate Thumbnails
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.84 ▲6.22 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.20 ▲3.44 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 42.71 ▼6.90 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 78.87 ▼11.60 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 41.27 ▲0.75 |
Server storage [IO: ▲1.16MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Recreate Thumbnails
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.35 ▲0.00 | 1.75 ▲0.17 | 42.67 ▼4.39 |
Dashboard /wp-admin | 2,219 ▲39 | 5.56 ▼0.11 | 91.43 ▲1.66 | 37.83 ▼0.85 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.01 ▼0.01 | 34.14 ▼7.01 | 35.66 ▼3.51 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.48 ▼0.10 | 675.43 ▲4.84 | 53.53 ▼13.72 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.26 ▲0.03 | 100.17 ▲3.27 | 43.42 ▼0.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- License uri: Invalid URI found ("")
- License: Empty string
- Screenshots: Please add an image for screenshot #1 (2.)
- Stable tag: Empty string
wp-recreate-thumbnails/recreate-thumbnails.php 92% from 13 tests
The main file in "WP Recreate Thumbnails" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-recreate-thumbnails.php" instead of "recreate-thumbnails.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin5,355 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 0 | 13 | 2,345 |
JavaScript | 2 | 23 | 38 | 183 |
PHP | 1 | 30 | 13 | 156 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin