Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼10.55ms] Passed 4 tests
Server-side resources used by XO Featured Image Tools
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 38.16 ▼1.63 |
Dashboard /wp-admin | 3.49 ▲0.14 | 45.95 ▼16.59 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.98 ▲9.21 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 81.86 ▼26.67 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.33 ▲2.68 |
XO Featured Image /wp-admin/options-general.php?page=xo_featured_image | 3.41 | 34.19 |
Featured Image /wp-admin/tools.php?page=xo-featured-image-tools | 3.38 | 30.17 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
xo_featured_image_tools_options |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for XO Featured Image Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.25 ▼1.52 | 4.58 ▲2.61 | 40.07 ▼1.91 |
Dashboard /wp-admin | 2,217 ▲26 | 4.87 ▼0.01 | 99.11 ▼9.08 | 40.17 ▼7.68 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.00 ▼0.01 | 40.71 ▲0.25 | 35.02 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,525 ▲6 | 22.96 ▼0.06 | 615.58 ▼14.58 | 51.39 ▲3.46 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.23 ▲0.08 | 93.63 ▼9.44 | 42.20 ▼1.99 |
XO Featured Image /wp-admin/options-general.php?page=xo_featured_image | 1,073 | 3.11 | 40.45 | 30.76 |
Featured Image /wp-admin/tools.php?page=xo-featured-image-tools | 810 | 1.79 | 33.91 | 28.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
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
The SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: featured image, thumbnail
xo-featured-image-tools/xo-featured-image-tools.php 92% from 13 tests
The main file in "XO Featured Image Tools" v. 1.13.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Success! There were no dangerous files found in this plugin863 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 126 | 316 | 665 |
JavaScript | 4 | 8 | 4 | 123 |
CSS | 3 | 17 | 9 | 75 |
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.47 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 5.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 3 | 9.38% |
▷ Public methods | 26 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 18.75% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin