Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/clickgumshoe/html/libs/classes/css.php+61
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.54MB] [CPU: ▼52.89ms] Passed 4 tests
A check of server-side resources used by ClickGUMSHOE - Click Fraud Detection & Protection
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.45 ▼1.01 | 11.13 ▼30.19 |
Dashboard /wp-admin | 2.47 ▼0.83 | 9.31 ▼40.80 |
Posts /wp-admin/edit.php | 2.47 ▼0.88 | 11.16 ▼38.56 |
Add New Post /wp-admin/post-new.php | 2.47 ▼3.41 | 11.21 ▼102.00 |
Media Library /wp-admin/upload.php | 2.47 ▼0.76 | 10.17 ▼28.78 |
ClickGUMSHOE /wp-admin/options-general.php?page=hcgs_settings | 2.47 | 10.76 |
Server storage [IO: ▲1.90MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 283 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ClickGUMSHOE - Click Fraud Detection & Protection
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲132 | 14.06 ▼0.29 | 19.40 ▲17.86 | 34.77 ▼4.03 |
Dashboard /wp-admin | 2,204 ▲30 | 5.63 ▲0.05 | 94.38 ▼2.36 | 42.10 ▼2.39 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▼0.02 | 36.23 ▼5.95 | 33.53 ▼5.42 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.11 ▼0.03 | 653.93 ▲3.82 | 50.09 ▼3.92 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.14 ▼0.00 | 98.82 ▼19.20 | 43.13 ▼0.75 |
ClickGUMSHOE /wp-admin/options-general.php?page=hcgs_settings | 1,377 | 2.34 | 42.67 | 100.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/clickgumshoe/html/libs/classes/css.php+61
Array and string offset access syntax with curly braces is deprecated
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hcgs_settings
- > POST request to /wp-admin/admin-ajax.php?action=hcgs_rest&task=check_status
- > Deprecated in wp-content/plugins/clickgumshoe/html/libs/classes/css.php+61
Array and string offset access syntax with curly braces is deprecated
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
Almost there! Just fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/clickgumshoe/html/libs/vendor/react/socket/examples/99-generate-self-signed.php
- > /wp-content/plugins/clickgumshoe/lock.php
- > /wp-content/plugins/clickgumshoe/plugin.php
- 509× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include(settings.php): failed to open stream: No such file or directory in wp-content/plugins/clickgumshoe/libs/vendor/cloudinary/cloudinary_php/samples/PhotoAlbum/main.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_FieldType' not found in wp-content/plugins/clickgumshoe/libs/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_textarea.php:7
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/clickgumshoe/html/libs/vendor/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/clickgumshoe/html/libs/vendor/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_FieldType' not found in wp-content/plugins/clickgumshoe/libs/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_system.php:7
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_Form_Meta' not found in wp-content/plugins/clickgumshoe/libs/apf/factory/meta_box/form/AdminPageFramework_Form_post_meta_box.php:7
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_Resource_post_meta_box' not found in wp-content/plugins/clickgumshoe/libs/apf/factory/user_meta/_controller/AdminPageFramework_Resource_user_meta.php:7
- > PHP Fatal error
Uncaught Error: Class 'FluentDOM\odes' not found in wp-content/plugins/clickgumshoe/html/libs/vendor/fluentdom/fluentdom/src/FluentDOM/Query.php:26
- > PHP Fatal error
Uncaught Error: Class 'Stash\\Driver\\AbstractDriver' not found in wp-content/plugins/clickgumshoe/html/libs/vendor/tedivm/stash/src/Stash/Driver/Redis.php:23
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/clickgumshoe/libs/apf/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:7
- > PHP Warning
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 93% 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
3 plugin tags: clickgumshoe, adwords, fraud click
clickgumshoe/plugin.php 85% from 13 tests
The primary PHP file in "ClickGUMSHOE - Click Fraud Detection & Protection" version 1.0.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("clickgumshoe.php" instead of "plugin.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
No dangerous file extensions were detected51,325 lines of code in 699 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 668 | 7,555 | 22,921 | 49,324 |
JSON | 20 | 0 | 0 | 1,310 |
JavaScript | 5 | 95 | 104 | 442 |
XML | 1 | 1 | 0 | 216 |
CSS | 5 | 7 | 7 | 33 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 254.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 83 | |
Interfaces | 56 | |
Traits | 17 | |
Classes | 695 | |
▷ Abstract classes | 120 | 17.27% |
▷ Concrete classes | 575 | 82.73% |
▷ Final classes | 18 | 3.13% |
Methods | 4,342 | |
▷ Static methods | 515 | 11.86% |
▷ Public methods | 3,072 | 70.75% |
▷ Protected methods | 526 | 12.11% |
▷ Private methods | 744 | 17.13% |
Functions | 436 | |
▷ Named functions | 200 | 45.87% |
▷ Anonymous functions | 236 | 54.13% |
Constants | 251 | |
▷ Global constants | 10 | 3.98% |
▷ Class constants | 241 | 96.02% |
▷ Public constants | 241 | 100.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
14 compressed PNG files occupy 0.98MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
html/asset/images/colorbox/loading_background.png | 0.13KB | 0.15KB | 0.00% |
asset/images/bullet-green.png | 0.63KB | 0.58KB | ▼ 7.32% |
asset/images/quick-call-button.png | 0.62KB | 0.63KB | 0.00% |
html/asset/images/colorbox/controls.png | 1.23KB | 1.28KB | 0.00% |
html/asset/images/colorbox/border.png | 0.07KB | 0.10KB | 0.00% |