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: ▼9.16ms] Passed 4 tests
A check of server-side resources used by Website Screenshot to Media Library
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.86 ▼0.62 |
Dashboard /wp-admin | 3.34 ▼0.00 | 50.25 ▼16.45 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.11 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.99 ▼17.28 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.95 ▼2.30 |
Get Screenshot /wp-admin/admin.php?page=wsml-screenshot-get | 3.23 | 37.15 |
Screenshot /wp-admin/admin.php?page=screenshot | 3.23 | 33.50 |
Settings /wp-admin/admin.php?page=wsml-screenshot-settings | 3.23 | 34.27 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Website Screenshot to Media Library
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲26 | 14.17 ▼0.18 | 1.83 ▼0.02 | 46.63 ▲3.79 |
Dashboard /wp-admin | 2,212 ▲35 | 5.61 ▼0.07 | 96.36 ▲2.30 | 41.25 ▼2.77 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.05 ▲0.05 | 37.20 ▼2.41 | 33.71 ▼1.17 |
Add New Post /wp-admin/post-new.php | 1,545 ▲7 | 23.12 ▲0.13 | 661.08 ▼97.57 | 55.69 ▲1.69 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.18 ▼0.06 | 97.47 ▼21.10 | 42.43 ▼13.35 |
Get Screenshot /wp-admin/admin.php?page=wsml-screenshot-get | 887 | 2.00 | 30.71 | 28.12 |
Screenshot /wp-admin/admin.php?page=screenshot | 888 | 2.03 | 28.16 | 30.54 |
Settings /wp-admin/admin.php?page=wsml-screenshot-settings | 884 | 2.03 | 23.18 | 30.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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 no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
4 plugin tags: screenshot, screenshotone, images, visual content
website-screenshot-to-media-library/website-screenshot-to-media-library.php 92% from 13 tests
This is the main PHP file of "Website Screenshot to Media Library" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
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
Everything looks great! No dangerous files found in this plugin191 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 30 | 191 |
PHP code Passed 2 tests
This is a short overview 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.25 |
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
2 PNG files occupy 0.18MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 10.87KB | 4.48KB | ▼ 58.75% |
assets/banner-772x250.png | 171.26KB | 61.09KB | ▼ 64.33% |