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.04MB] [CPU: ▼1.42ms] Passed 4 tests
This is a short check of server-side resources used by Unclickable Featured Image
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 46.45 ▲5.63 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.35 ▼0.54 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.18 ▲5.42 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.07 ▼12.55 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.18 ▲2.00 |
Unclickable Featured Image Settings /wp-admin/options-general.php?page=unclickable | 3.21 | 28.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-posts |
unclickable_options_img |
unclickable_options_thumbnail |
widget_theysaidso_widget |
unclickable_options_selector |
unclickable_options_all |
unclickable_options_select |
unclickable_options_link |
can_compress_scripts |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Unclickable Featured Image
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.28 ▼0.34 | 1.70 ▲0.03 | 44.36 ▲6.06 |
Dashboard /wp-admin | 2,199 ▲21 | 5.54 ▼0.12 | 83.89 ▼27.72 | 36.42 ▼5.04 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.03 | 38.99 ▲3.21 | 34.34 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.35 ▲0.10 | 630.01 ▼44.44 | 58.23 ▲5.56 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.03 | 93.75 ▼6.52 | 40.99 ▼4.68 |
Unclickable Featured Image Settings /wp-admin/options-general.php?page=unclickable | 977 | 1.99 | 25.43 | 31.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 14 options
- unclickable_options_selector
- unclickable_options_link
- widget_theysaidso_widget
- unclickable_options_hook
- unclickable_options_thumbnail
- widget_recent-posts
- unclickable_options_select
- db_upgraded
- can_compress_scripts
- unclickable_options_img
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 24 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=unclickable
- > Warning in wp-content/plugins/unclickable-featured-image/unclickable-featured-image.php+213
Use of undefined constant option - assumed 'option' (this will throw an Error in a future version of PHP)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=unclickable
- > Warning in wp-content/plugins/unclickable-featured-image/unclickable-featured-image.php+210
Use of undefined constant label - assumed 'label' (this will throw an Error in a future version of PHP)
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=unclickable
- > Warning in wp-content/plugins/unclickable-featured-image/unclickable-featured-image.php+213
Use of undefined constant type - assumed 'type' (this will throw an Error in a future version of PHP)
- 14 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=unclickable
- > Warning in wp-content/plugins/unclickable-featured-image/unclickable-featured-image.php+213
Use of undefined constant value - assumed 'value' (this will throw an Error in a future version of PHP)
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=unclickable
- > Warning in wp-content/plugins/unclickable-featured-image/unclickable-featured-image.php+216
Use of undefined constant second - assumed 'second' (this will throw an Error in a future version of PHP)
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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/unclickable-featured-image/unclickable-featured-image.php:30
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=unclickable
- > Network (severe)
wp-content/plugins/unclickable-featured-image/unclickable-admin.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (The settings page)
unclickable-featured-image/unclickable-featured-image.php Passed 13 tests
This is the main PHP file of "Unclickable Featured Image" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
66 characters long description:
A wordpress plugin that forces all featured images to NOT be links
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin186 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 41 | 186 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected