Benchmarks
Plugin footprint 65% 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.83MB] [CPU: ▼34.61ms] Passed 4 tests
This is a short check of server-side resources used by Tida URL Screenshot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.15 ▲1.59 |
Dashboard /wp-admin | 3.11 ▼0.19 | 28.02 ▼21.83 |
Posts /wp-admin/edit.php | 3.11 ▼0.24 | 27.89 ▼26.82 |
Add New Post /wp-admin/post-new.php | 3.11 ▼2.77 | 29.41 ▼76.92 |
Media Library /wp-admin/upload.php | 3.11 ▼0.12 | 22.35 ▼12.85 |
Tida URL Screenshot Settings /wp-admin/options-general.php?page=tida-url-screenshot-settings | 3.11 | 25.84 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tida URL Screenshot
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.30 ▼1.00 | 5.23 ▲3.26 | 40.52 ▼3.43 |
Dashboard /wp-admin | 2,225 ▲19 | 4.85 ▼0.27 | 102.07 ▼4.08 | 37.57 ▼6.13 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.05 ▲0.06 | 39.98 ▼4.92 | 37.84 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,549 ▲9 | 23.10 ▲4.90 | 623.19 ▼7.76 | 62.57 ▲5.11 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.25 ▼0.12 | 98.45 ▼6.30 | 42.92 ▼2.06 |
Tida URL Screenshot Settings /wp-admin/options-general.php?page=tida-url-screenshot-settings | 820 | 2.07 | 26.03 | 28.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/tida-url-screenshot/includes/admin/class-settings.php+113
Undefined variable: list
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=tida-url-screenshot-settings
- > Notice in wp-content/plugins/tida-url-screenshot/includes/admin/class-settings.php+113
Undefined variable: list
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: url screenshot, screenshot tool
tida-url-screenshot/tida-url-screenshot.php Passed 13 tests
This is the main PHP file of "Tida URL Screenshot" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
79 characters long description:
This plugin is adding the tool on your website that take a screenshot from URL.
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 plugin490 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 140 | 171 | 448 |
JavaScript | 1 | 0 | 0 | 23 |
CSS | 1 | 4 | 2 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 6 | 24.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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 are no PNG files in this plugin