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.01MB] [CPU: ▼7.70ms] Passed 4 tests
A check of server-side resources used by WP Thumbnail Linkbox Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.24 ▲2.12 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.31 ▼0.88 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.92 ▼9.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.77 ▼17.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.27 ▼2.93 |
WP Thumbnail Linkbox /wp-admin/options-general.php?page=wptls-setting | 3.24 | 30.25 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Thumbnail Linkbox Shortcode: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.44 ▲0.15 | 1.99 ▲0.42 | 44.54 ▲5.69 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.06 | 97.51 ▲10.07 | 41.41 ▼7.11 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 35.91 ▼0.86 | 31.78 ▼4.19 |
Add New Post /wp-admin/post-new.php | 1,531 ▼8 | 23.27 ▲0.11 | 654.12 ▼17.15 | 51.90 ▼7.69 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.02 | 94.04 ▼5.49 | 44.02 ▼2.02 |
WP Thumbnail Linkbox /wp-admin/options-general.php?page=wptls-setting | 927 | 1.99 | 21.89 | 46.24 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wptls-setting
- > Notice in wp-content/plugins/wp-thumbnail-linkbox-shortcode/wp-thumbnail-linkbox-shortcode.php+183
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-thumbnail-linkbox-shortcode/wp-thumbnail-linkbox-shortcode.php:39
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
wp-thumbnail-linkbox-shortcode/wp-thumbnail-linkbox-shortcode.php Passed 13 tests
The main file in "WP Thumbnail Linkbox Shortcode" v. 0.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
59 characters long description:
You can easily create links with thumbnails with shortcode.
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 plugin387 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 75 | 51 | 221 |
PO File | 1 | 18 | 24 | 70 |
Sass | 1 | 8 | 5 | 51 |
Stylus | 1 | 8 | 0 | 43 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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 are no PNG files in this plugin