Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.31ms] Passed 4 tests
Server-side resources used by Automatic Featured Image Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.83 ▼2.01 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.61 ▼4.33 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.83 ▼4.15 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 95.64 ▲4.32 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.55 ▼2.74 |
Auto Image Posts /wp-admin/options-general.php?page=automatic-featured-image-posts-settings | 3.26 | 32.74 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
afip_upgrade_check |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
afip_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Automatic Featured Image Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.02 | 1.68 ▼0.00 | 44.14 ▲0.40 |
Dashboard /wp-admin | 2,199 ▲22 | 5.60 ▼0.06 | 84.35 ▼6.94 | 38.66 ▲3.73 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.00 | 39.54 ▲3.23 | 34.74 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.01 ▼0.05 | 674.60 ▼2.19 | 56.22 ▼8.64 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▼0.08 | 97.11 ▼6.52 | 41.75 ▼3.06 |
Auto Image Posts /wp-admin/options-general.php?page=automatic-featured-image-posts-settings | 942 | 1.99 | 22.84 | 27.38 |
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 were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/automatic-featured-image-posts/automatic-featured-image-posts.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Screenshots: Screenshot #1 (An overview of the Automatic Featured Image Posts settings screen.) image not found
automatic-featured-image-posts/automatic-featured-image-posts.php Passed 13 tests
The main PHP file in "Automatic Featured Image Posts" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
89 characters long description:
Automatically creates a new post with an assigned featured image from every image upload.
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
Everything looks great! No dangerous files found in this plugin206 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 59 | 135 | 206 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin