Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.98ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Default Featured Image
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.19 ▼6.32 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.32 ▼18.40 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.46 ▼3.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.77 ▼15.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.85 ▲1.60 |
WP Default Featured Image /wp-admin/options-general.php?page=wp_auto_featured_image | 3.21 | 31.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Default Featured Image
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.18 ▼1.03 | 1.69 ▼0.13 | 35.80 ▼4.92 |
Dashboard /wp-admin | 2,212 ▲24 | 4.80 ▼0.09 | 107.81 ▼14.60 | 42.10 ▼2.44 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▲0.02 | 35.92 ▼3.51 | 36.60 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.30 ▼4.98 | 636.55 ▼40.06 | 63.87 ▲14.52 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.25 ▲0.00 | 93.83 ▼14.98 | 40.21 ▼4.13 |
WP Default Featured Image /wp-admin/options-general.php?page=wp_auto_featured_image | 1,173 | 3.31 | 54.65 | 61.29 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp_auto_featured_image
- > Notice in wp-content/plugins/wp-auto-featured-image/wp-auto-featured-image.php+185
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-auto-featured-image/wp-auto-featured-image.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: featured image, auto featured image, auto post thumbnail, default featured image, wordpress post thumbnail...
wp-auto-featured-image/wp-auto-featured-image.php 92% from 13 tests
Analyzing the main PHP file in "WordPress Default Featured Image" version 1.5.1
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin377 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 53 | 235 |
CSS | 1 | 0 | 0 | 104 |
JavaScript | 1 | 18 | 33 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected