Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.65ms] Passed 4 tests
This is a short check of server-side resources used by Featured Image Bulk Set Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.19 ▼1.52 |
Dashboard /wp-admin | 3.35 ▲0.00 | 46.71 ▼17.88 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 41.53 ▼4.28 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.01 ▼14.93 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.65 ▲0.67 |
FIBS Menu /wp-admin/options-general.php?page=fibs_plugin | 3.21 | 26.89 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Featured Image Bulk Set Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.27 ▼1.06 | 1.74 ▼0.25 | 43.37 ▲0.70 |
Dashboard /wp-admin | 2,210 ▲19 | 5.88 ▲1.00 | 114.25 ▲12.25 | 42.23 ▲3.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.06 | 34.76 ▼7.29 | 34.91 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.12 ▲0.09 | 679.75 ▲68.73 | 61.60 ▲5.59 |
Media Library /wp-admin/upload.php | 1,389 ▲7 | 4.18 ▲0.02 | 94.59 ▼11.01 | 44.63 ▲1.45 |
FIBS Menu /wp-admin/options-general.php?page=fibs_plugin | 879 | 2.06 | 23.13 | 27.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+241
Undefined index: execute
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+242
Undefined index: secretcheck
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+243
Undefined index: dim
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+244
Undefined index: override
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+245
Undefined index: forreal
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+246
Undefined index: firstlast
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+247
Undefined index: automated
- > GET request to /wp-admin/options-general.php?page=fibs_plugin
- > Notice in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php+248
Undefined index: drafts
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/featured-image-bulk-set/featuredimageplugin.php:211
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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, utilities
featured-image-bulk-set/featuredimageplugin.php 92% from 13 tests
The main PHP file in "Featured Image Bulk Set Plugin" ver. 1.5.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("featured-image-bulk-set.php" instead of "featuredimageplugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin271 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 71 | 48 | 271 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin