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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.49ms] Passed 4 tests
An overview of server-side resources used by Urlbox Screenshots
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.04 ▲1.46 |
Dashboard /wp-admin | 3.34 ▼0.00 | 42.49 ▼14.30 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 43.40 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.27 ▼11.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 31.14 ▼2.32 |
Urlbox /wp-admin/options-general.php?page=urlbox-screenshots | 3.23 | 28.67 |
Server storage [IO: ▲0.02MB] [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_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Urlbox Screenshots
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.44 | 2.18 ▲0.67 | 40.25 ▼0.97 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▼0.07 | 90.02 ▲2.97 | 38.33 ▼0.73 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.94 ▼0.06 | 36.79 ▼2.44 | 30.32 ▼6.63 |
Add New Post /wp-admin/post-new.php | 1,540 ▲9 | 18.33 ▼4.39 | 605.90 ▼36.92 | 60.18 ▲9.38 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.00 | 98.16 ▲3.26 | 40.55 ▼4.21 |
Urlbox /wp-admin/options-general.php?page=urlbox-screenshots | 1,023 | 2.01 | 23.12 | 34.00 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (14 tag instead of maximum 10)
urlbox-screenshots/urlbox-screenshots.php Passed 13 tests
The principal PHP file in "Urlbox Screenshots" v. 1.5.2 is loaded by WordPress automatically on each request
69 characters long description:
Take screenshots of websites and display them on your wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin439 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 105 | 439 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 1 | 5.56% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 1 | 5.56% |
▷ 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin