Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.52ms] Passed 4 tests
A check of server-side resources used by Client Partner Showcase
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 35.33 ▼6.07 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.54 ▲2.92 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.37 ▼2.16 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.94 ▼8.77 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.95 ▲5.19 |
Add New Client /wp-admin/post-new.php?post_type=client_partner | 3.52 | 49.03 |
All Client /wp-admin/edit.php?post_type=client_partner | 3.38 | 38.79 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_nkcps_client_partner_widget |
client_partner_default_Settings_new |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Client Partner Showcase
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲188 | 13.66 ▼1.06 | 11.61 ▲9.94 | 36.16 ▼7.87 |
Dashboard /wp-admin | 2,231 ▲54 | 5.62 ▼0.05 | 95.84 ▲0.55 | 41.71 ▼5.12 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.01 ▲0.03 | 40.57 ▼3.46 | 36.68 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,561 ▲31 | 23.31 ▲0.14 | 628.36 ▼18.17 | 61.30 ▲12.65 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.29 ▲0.09 | 94.81 ▼1.18 | 43.36 ▲1.33 |
Add New Client /wp-admin/post-new.php?post_type=client_partner | 2,130 | 4.49 | 87.46 | 130.90 |
All Client /wp-admin/edit.php?post_type=client_partner | 1,108 | 1.90 | 32.24 | 31.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_nkcps_client_partner_widget
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- client_partner_default_Settings_new
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/client-partner-showcase/ink/help.php
- > /wp-content/plugins/client-partner-showcase/template/designs/style.php
- 61× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 10
- > PHP Notice
Undefined variable: section_padding_top_bottom_size in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 61
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/client-partner-showcase/ink/admin/add-cli.php:4
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 107
- > PHP Notice
Undefined variable: section_padding_left_right_size in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 61
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 81
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 34
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 34
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/client-partner-showcase/template/designs/style.php on line 55
- > PHP Warning
Use of undefined constant nkcps_client_partner_directory_url - assumed 'nkcps_client_partner_directory_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/client-partner-showcase/ink/admin/add-cli-js.php on line 8
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: partner, logo carousal, client, sponsors
client-partner-showcase/client-partner.php 92% from 13 tests
The primary PHP file in "Client Partner Showcase" version 2.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("client-partner-showcase.php" instead of "client-partner.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected9,479 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 173 | 111 | 3,791 |
JavaScript | 7 | 500 | 968 | 1,993 |
Sass | 13 | 19 | 22 | 1,158 |
LESS | 13 | 19 | 31 | 1,149 |
PHP | 17 | 112 | 69 | 884 |
SVG | 1 | 0 | 0 | 504 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 15 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.25% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/design/logo.png | 4.93KB | 3.45KB | ▼ 29.98% |
assets/images/icon.png | 0.27KB | 0.26KB | ▼ 1.83% |