Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.97MB] [CPU: ▲4.86ms] Passed 4 tests
Server-side resources used by PixProof - Easy Photo Proofing for Photographers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.17 ▲0.70 | 51.34 ▲13.50 |
Dashboard /wp-admin | 4.38 ▲1.07 | 57.94 ▲8.09 |
Posts /wp-admin/edit.php | 4.40 ▲1.04 | 58.21 ▲1.64 |
Add New Post /wp-admin/post-new.php | 6.97 ▲1.08 | 91.09 ▼3.19 |
Media Library /wp-admin/upload.php | 4.30 ▲1.07 | 50.02 ▲12.88 |
PixProof /wp-admin/options-general.php?page=pixproof_settings | 4.64 | 48.19 |
All Items /wp-admin/edit.php?post_type=proof_gallery | 4.34 | 45.93 |
Add New /wp-admin/post-new.php?post_type=proof_gallery | 4.78 | 62.47 |
Server storage [IO: ▲2.99MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 369 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
pixproofversion |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by PixProof - Easy Photo Proofing for Photographers
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲162 | 13.59 ▼0.77 | 9.85 ▲7.64 | 47.07 ▲0.66 |
Dashboard /wp-admin | 2,240 ▲63 | 5.72 ▲0.02 | 94.01 ▼1.54 | 38.63 ▲1.64 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.04 ▲0.05 | 42.22 ▲6.24 | 36.36 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.44 ▼0.29 | 678.82 ▼35.58 | 64.46 ▲12.43 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.41 ▲0.24 | 96.87 ▼6.75 | 45.29 ▲4.11 |
PixProof /wp-admin/options-general.php?page=pixproof_settings | 1,447 | 5.63 | 104.60 | 48.26 |
All Items /wp-admin/edit.php?post_type=proof_gallery | 1,145 | 1.98 | 38.71 | 32.04 |
Add New /wp-admin/post-new.php?post_type=proof_gallery | 2,723 | 8.13 | 185.75 | 80.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- pixproofversion
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/pixproof/views/pixproof_gallery.php
- > /wp-content/plugins/pixproof/views/pixproof_metadata.php
- 43× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/pixproof/includes/vendor/cmb2/includes/CMB2.php:21
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
pixproof/pixproof.php 92% from 13 tests
The main file in "PixProof - Easy Photo Proofing for Photographers" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/lang" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin48,379 lines of code in 226 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 73 | 2,637 | 7,265 | 8,984 |
CSS | 18 | 1,164 | 1,157 | 4,682 |
JavaScript | 11 | 409 | 519 | 1,704 |
Markdown | 3 | 225 | 0 | 665 |
YAML | 1 | 6 | 0 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 18.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 10 | 12.66% |
▷ Concrete classes | 69 | 87.34% |
▷ Final classes | 1 | 1.45% |
Methods | 643 | |
▷ Static methods | 127 | 19.75% |
▷ Public methods | 538 | 83.67% |
▷ Protected methods | 97 | 15.09% |
▷ Private methods | 8 | 1.24% |
Functions | 56 | |
▷ Named functions | 56 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 6 | 46.15% |
▷ Class constants | 7 | 53.85% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/vendor/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/vendor/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/vendor/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/vendor/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/vendor/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |