Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.31MB] [CPU: ▼278.66ms] Passed 4 tests
Analyzing server-side resources used by Copyright Proof
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.89 ▲1.37 | 68.41 ▲15.38 |
Dashboard /wp-admin | 4.71 ▲1.30 | 46.43 ▲13.19 |
Posts /wp-admin/edit.php | 4.94 ▲1.30 | 57.66 ▲21.48 |
Add New Post /wp-admin/post-new.php | 8.24 ▲1.27 | 113.11 ▼1,153.57 |
Media Library /wp-admin/upload.php | 4.66 ▲1.36 | 36.39 ▲10.35 |
Copyright Proof /wp-admin/options-general.php?page=copyright-proof-settings | 4.67 | 42.15 |
Server storage [IO: ▲1.31MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 37 new files
Database: 4 new tables, 49 new options
New tables |
---|
wp_dprv_licenses |
wp_dprv_log |
wp_dprv_posts |
wp_dprv_post_content_files |
New WordPress options |
---|
dprv_footer |
dprv_display_name |
dprv_featured_images |
dprv_obscure_url |
dprv_right_click_message |
dprv_last_date_count |
dprv_html_tags |
dprv_auto_posts |
dprv_email_address |
dprv_content_type |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Copyright Proof
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,816 ▲74 | 15.61 ▼0.14 | 6.01 ▲0.33 | 2.08 ▼0.30 |
Dashboard /wp-admin | 2,917 ▲56 | 6.03 ▼0.16 | 120.95 ▼20.87 | 155.66 ▼11.44 |
Posts /wp-admin/edit.php | 2,728 ▲34 | 3.24 ▲0.01 | 67.77 ▲2.15 | 155.42 ▲12.17 |
Add New Post /wp-admin/post-new.php | 1,690 ▼0 | 19.18 ▼1.81 | 382.83 ▼83.78 | 150.42 ▼6.05 |
Media Library /wp-admin/upload.php | 1,724 ▲26 | 5.49 ▼0.02 | 143.39 ▲0.86 | 193.57 ▲1.79 |
Copyright Proof /wp-admin/options-general.php?page=copyright-proof-settings | 3,967 | 3.89 | 83.46 | 151.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 4 tables in the database
- wp_dprv_post_content_files
- wp_dprv_log
- wp_dprv_posts
- wp_dprv_licenses
- Zombie WordPress options detected upon uninstall: 49 options
- dprv_footer
- dprv_user_id
- dprv_content_type
- dprv_c_notice
- dprv_hover_color
- dprv_pending_levels
- dprv_linkback
- dprv_outside_media
- dprv_back_digiproved_count
- dprv_use_ssl
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'DPLog' not found in wp-content/plugins/digiproveblog/copyright_proof_live.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digiproveblog/copyright_proof_admin.php:3309
- > PHP Fatal error
Uncaught Error: Class 'DPLog' not found in wp-content/plugins/digiproveblog/copyright_proof_admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digiproveblog/copyright_proof_edit.php:30
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (A Digiprove notice), #2 (Settings (Basic)), #3 (Settings (Advanced)), #4 (Settings (Content)), #5 (Settings (License)), #6 (Settings (Copy Protect)), #7 (Settings (Bulk Digiproving))
digiproveblog/CopyrightProof.php 85% from 13 tests
The primary PHP file in "Copyright Proof" version 4.16 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 226 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("digiproveblog.php" instead of "CopyrightProof.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin13,185 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 744 | 1,187 | 8,858 |
JavaScript | 6 | 310 | 228 | 3,034 |
PO File | 1 | 383 | 507 | 1,212 |
HTML | 1 | 2 | 0 | 78 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 172.00 |
Average method complexity | 11.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 19 | 79.17% |
▷ Public methods | 15 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 37.50% |
Functions | 93 | |
▷ Named functions | 93 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
digiprove_logo_112x28.png | 3.27KB | 2.12KB | ▼ 35.00% |
Digiprove_logo_861x219_bgTrans.png | 36.18KB | 14.66KB | ▼ 59.48% |
Refresh-16.png | 1.04KB | 0.74KB | ▼ 28.61% |
hs.png | 2.62KB | 7.54KB | 0.00% |
hv.png | 2.80KB | 7.32KB | 0.00% |