Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.41MB] [CPU: ▼1.12ms] Passed 4 tests
An overview of server-side resources used by Image Watermark Plugin for WordPress, WordPress Watermark Plugin, Add Watermark on WordPress - Ultimate Watermark
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 37.14 ▼2.72 |
Dashboard /wp-admin | 3.73 ▲0.43 | 47.40 ▼2.47 |
Posts /wp-admin/edit.php | 3.78 ▲0.43 | 46.99 ▲0.31 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 92.22 ▲0.42 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 38.49 ▲6.05 |
Server storage [IO: ▲0.26MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
ultimate_watermark_plugin_db_version |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
ultimate_watermark_plugin_version |
ultimate_watermark_install_date |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Image Watermark Plugin for WordPress, WordPress Watermark Plugin, Add Watermark on WordPress - Ultimate Watermark: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲70 | 14.40 ▲0.07 | 1.82 ▲0.02 | 35.87 ▼6.76 |
Dashboard /wp-admin | 2,206 ▲31 | 5.61 ▼0.01 | 94.08 ▼22.77 | 36.91 ▼8.99 |
Posts /wp-admin/edit.php | 2,120 ▲17 | 2.02 ▲0.01 | 39.84 ▼3.80 | 35.15 ▼5.84 |
Add New Post /wp-admin/post-new.php | 1,541 ▲7 | 23.21 ▼0.01 | 591.17 ▼56.17 | 50.42 ▼8.33 |
Media Library /wp-admin/upload.php | 1,478 ▲78 | 4.20 ▲0.05 | 96.15 ▼0.56 | 44.42 ▲2.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- ultimate_watermark_install_date
- widget_theysaidso_widget
- ultimate_watermark_plugin_db_version
- can_compress_scripts
- db_upgraded
- ultimate_watermark_plugin_version
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Watermark\\Admin\\Settings\\Base' not found in wp-content/plugins/ultimate-watermark/includes/Admin/Settings/Image_Watermark.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: image, watermark, picture, media, photo
ultimate-watermark/ultimate-watermark.php Passed 13 tests
The entry point to "Image Watermark Plugin for WordPress, WordPress Watermark Plugin, Add Watermark on WordPress - Ultimate Watermark" version 1.0.11 is a PHP file that has certain tags in its header comment area
43 characters long description:
Image Watermark plugin for WordPress media.
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
No dangerous file extensions were detected5,075 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 805 | 873 | 3,122 |
CSS | 2 | 42 | 48 | 1,223 |
JavaScript | 6 | 91 | 122 | 725 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 24.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 4.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 1 | 5.00% |
Methods | 137 | |
▷ Static methods | 42 | 30.66% |
▷ Public methods | 116 | 84.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 15.33% |
Functions | 32 | |
▷ Named functions | 31 | 96.88% |
▷ Anonymous functions | 1 | 3.12% |
Constants | 8 | |
▷ Global constants | 8 | 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
No PNG files were detected