Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.96ms] Passed 4 tests
An overview of server-side resources used by Clinked Client Portal
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 34.09 ▼2.98 |
Dashboard /wp-admin | 3.35 ▲0.04 | 43.75 ▼4.04 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.66 ▼3.11 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.64 ▲1.78 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.32 ▼1.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_clinked-login-widget |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Clinked Client Portal: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲113 | 13.44 ▼1.15 | 9.44 ▲7.59 | 41.88 ▲0.65 |
Dashboard /wp-admin | 2,191 ▲17 | 5.59 ▲0.07 | 89.86 ▼2.77 | 36.94 ▼2.41 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.01 ▲0.00 | 40.28 ▼0.68 | 36.87 ▼5.68 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 23.07 ▲0.21 | 676.50 ▲71.21 | 59.54 ▼6.12 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.20 ▼0.03 | 96.58 ▼5.99 | 42.27 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_clinked-login-widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/clinked-client-portal/clinked-wordpress-plugin.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/clinked-client-portal/views/login.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 27 tag instead of maximum 10
clinked-client-portal/clinked-wordpress-plugin.php 85% from 13 tests
"Clinked Client Portal" version 1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 426 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("clinked-client-portal.php" instead of "clinked-wordpress-plugin.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
Good job! No executable or dangerous file extensions detected269 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 52 | 191 |
JavaScript | 1 | 7 | 4 | 44 |
YAML | 1 | 2 | 0 | 28 |
Markdown | 1 | 3 | 0 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 5 | 62.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin