Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.44MB] [CPU: ▲7.27ms] Passed 4 tests
This is a short check of server-side resources used by Clickio Prism
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.84 ▲1.38 | 52.14 ▲6.71 |
Dashboard /wp-admin | 4.75 ▲1.45 | 62.83 ▲8.73 |
Posts /wp-admin/edit.php | 4.84 ▲1.49 | 64.27 ▲14.42 |
Add New Post /wp-admin/post-new.php | 7.41 ▲1.52 | 98.60 ▼0.80 |
Media Library /wp-admin/upload.php | 4.67 ▲1.45 | 52.87 ▲14.90 |
Clickio /wp-admin/options-general.php?page=clickio_opt | 4.95 | 54.73 |
Server storage [IO: ▲1.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 218 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_clickio_captcha |
wp_clickio_pagewidgets |
New WordPress options |
---|
can_compress_scripts |
clickio_opt |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
clickio_appkey |
Browser metrics Passed 4 tests
An overview of browser requirements for Clickio Prism
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲122 | 13.23 ▼1.17 | 1.62 ▼0.14 | 44.59 ▼2.99 |
Dashboard /wp-admin | 2,242 ▲54 | 4.92 ▲0.03 | 106.07 ▼0.82 | 42.82 ▼0.48 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.02 ▲0.02 | 39.04 ▲2.33 | 34.72 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,553 ▲31 | 23.39 ▲0.32 | 605.12 ▼75.50 | 51.01 ▼2.94 |
Media Library /wp-admin/upload.php | 1,427 ▲42 | 4.19 ▲0.02 | 96.98 ▼14.33 | 43.93 ▼3.83 |
Clickio /wp-admin/options-general.php?page=clickio_opt | 1,679 | 2.04 | 22.69 | 28.41 |
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
The following items require your attention
- The uninstall procedure failed, leaving 2 tables in the database
- wp_clickio_captcha
- wp_clickio_pagewidgets
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- clickio_appkey
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- clickio_opt
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 139× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Clickio\\Utils\\Container' not found in wp-content/plugins/clickio-prism/src/Listings/Containers/FilterParamsContainer.php:17
- > PHP Fatal error
Uncaught Error: Class 'Clickio\\Integration\\Services\\AbstractIntegrationService' not found in wp-content/plugins/clickio-prism/src/Integration/Services/WPSEO.php:18
- > PHP Fatal error
Uncaught Error: Class 'Clickio\\Integration\\Services\\AbstractIntegrationService' not found in wp-content/plugins/clickio-prism/src/Integration/Services/SGR.php:16
- > PHP Fatal error
Trait 'Clickio\\Logger\\LoggerAccess' not found in wp-content/plugins/clickio-prism/src/Prism/Cache/Engine/AbstractCacheService.php on line 16
- > PHP Fatal error
Trait 'Clickio\\Logger\\LoggerAccess' not found in wp-content/plugins/clickio-prism/src/Prism/Cache/CacheManager.php on line 20
- > PHP Fatal error
Trait 'Clickio\\Logger\\LoggerAccess' not found in wp-content/plugins/clickio-prism/src/RestApi/BaseRestAction.php on line 21
- > PHP Fatal error
Uncaught Error: Class 'Clickio\\Integration\\Services\\AbstractIntegrationService' not found in wp-content/plugins/clickio-prism/src/Integration/Services/AdvancedCustomFields.php:15
- > PHP Fatal error
Uncaught Error: Class 'Clickio\\Utils\\ValidatedContainer' not found in wp-content/plugins/clickio-prism/src/RestApi/Actions/Containers/SubscribeContainer.php:17
- > PHP Fatal error
Trait 'Clickio\\Logger\\LoggerAccess' not found in wp-content/plugins/clickio-prism/src/Utils/WebSub.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'Clickio\\Integration\\Services\\AbstractIntegrationService' not found in wp-content/plugins/clickio-prism/src/Integration/Services/AddThis.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
6 plugin tags: ad, prism, monetization, clickio, amp...
clickio-prism/clickioprism.php 77% from 13 tests
The primary PHP file in "Clickio Prism" version 2.29.15 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("clickio-prism.php" instead of "clickioprism.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected15,142 lines of code in 211 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 206 | 3,130 | 9,750 | 14,703 |
JSON | 3 | 0 | 0 | 220 |
CSS | 1 | 20 | 3 | 123 |
JavaScript | 1 | 25 | 46 | 96 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 9.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 44 | |
Interfaces | 21 | |
Traits | 1 | |
Classes | 175 | |
▷ Abstract classes | 11 | 6.29% |
▷ Concrete classes | 164 | 93.71% |
▷ Final classes | 65 | 39.63% |
Methods | 867 | |
▷ Static methods | 368 | 42.45% |
▷ Public methods | 665 | 76.70% |
▷ Protected methods | 163 | 18.80% |
▷ Private methods | 39 | 4.50% |
Functions | 57 | |
▷ Named functions | 26 | 45.61% |
▷ Anonymous functions | 31 | 54.39% |
Constants | 121 | |
▷ Global constants | 14 | 11.57% |
▷ Class constants | 107 | 88.43% |
▷ Public constants | 107 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 1.03MB with 0.65MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Plugin cover.png | 1,048.53KB | 260.06KB | ▼ 75.20% |
assets/prism logo 128.png | 9.97KB | 4.90KB | ▼ 50.82% |