Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▲0.02ms] Passed 4 tests
Server-side resources used by Cloud Customer Area
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 39.67 ▼2.16 |
Dashboard /wp-admin | 3.52 ▲0.22 | 44.99 ▼3.49 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 48.93 ▲5.23 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 96.44 ▲5.51 |
Media Library /wp-admin/upload.php | 3.44 ▲0.22 | 34.73 ▲0.52 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
cloud_customer_area_installation_time |
cloud_customer_area_version |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Cloud Customer Area
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲175 | 13.55 ▼0.82 | 5.51 ▲3.60 | 40.07 ▼5.46 |
Dashboard /wp-admin | 2,224 ▲33 | 5.79 ▲0.68 | 98.23 ▼6.55 | 40.83 ▼1.05 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.06 ▲0.02 | 41.24 ▲6.14 | 35.05 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 23.45 ▲5.88 | 632.27 ▼43.03 | 60.59 ▼13.79 |
Media Library /wp-admin/upload.php | 1,406 ▲21 | 4.20 ▲0.03 | 93.76 ▼7.61 | 40.04 ▼7.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- cloud_customer_area_version
- cloud_customer_area_installation_time
- widget_recent-posts
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cloud-customer-area/inc/google-api.php
- > /wp-content/plugins/cloud-customer-area/part/settings_page_oauth.php
- > /wp-content/plugins/cloud-customer-area/part/settings_page_main.php
- > /wp-content/plugins/cloud-customer-area/cloud-customer-area.php
- > /wp-content/plugins/cloud-customer-area/inc/main.php
- > /wp-content/plugins/cloud-customer-area/part/settings_page.php
- > /wp-content/plugins/cloud-customer-area/part/settings_page_customize.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: documents exchange, google drive, customers area, reserved area, cloud integration
cloud-customer-area/cloud-customer-area.php 92% from 13 tests
"Cloud Customer Area" version 2.0.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,035 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 103 | 157 | 1,013 |
SVG | 1 | 0 | 0 | 18 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 56.50 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 75.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 24.14% |
Functions | 15 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 15 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG files were detected