Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.41ms] Passed 4 tests
Server-side resources used by Worksuite WP – ERP, Workplace, CRM, HRM, Project Manager & Company Board
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.88 ▲3.35 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.33 ▼16.68 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.50 ▲3.85 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.18 ▼17.59 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 32.70 ▼2.73 |
Server storage [IO: ▲3.72MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Worksuite WP – ERP, Workplace, CRM, HRM, Project Manager & Company Board
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.08 ▼0.47 | 1.76 ▼0.13 | 43.71 ▲3.27 |
Dashboard /wp-admin | 2,223 ▲48 | 5.58 ▼0.02 | 84.57 ▼11.41 | 39.10 ▼3.42 |
Posts /wp-admin/edit.php | 2,131 ▲34 | 2.01 ▲0.01 | 35.91 ▲0.48 | 35.22 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,560 ▲32 | 18.34 ▼4.74 | 608.86 ▼29.92 | 77.12 ▲20.86 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.18 ▼0.02 | 99.79 ▼0.82 | 41.90 ▼2.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cloodo-worksuite/includes/clws-api.php
- > /wp-content/plugins/cloodo-worksuite/includes/settings.php
- > /wp-content/plugins/cloodo-worksuite/includes/dashboard.php
- > /wp-content/plugins/cloodo-worksuite/cloodo-worksuite.php
- > /wp-content/plugins/cloodo-worksuite/includes/products.php
- > /wp-content/plugins/cloodo-worksuite/includes/employees.php
- > /wp-content/plugins/cloodo-worksuite/includes/client.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cloodo-worksuite/includes/support.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cloodo-worksuite/includes/cloodo_core.php:4
- > 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 86% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #27, #28, #3, #4, #5, #6, #7, #8, #9 in cloodo-worksuite/assets to your readme.txt
cloodo-worksuite/cloodo-worksuite.php 77% from 13 tests
"Worksuite WP – ERP, Workplace, CRM, HRM, Project Manager & Company Board" version 2.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "5.2")
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.0" instead of "7.3")
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
Everything looks great! No dangerous files found in this plugin55,024 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 7,320 | 135 | 50,157 |
JavaScript | 4 | 314 | 591 | 3,659 |
PHP | 9 | 130 | 59 | 1,208 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 3 | 100.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 11 | 61.11% |
▷ Anonymous functions | 7 | 38.89% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
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 |
admin/image/close.png | 0.66KB | 0.44KB | ▼ 33.14% |
admin/image/default-user.png | 8.54KB | 5.14KB | ▼ 39.85% |