Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼299.41ms] Passed 4 tests
A check of server-side resources used by ZWM Zeumic Work Management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.08 ▲0.25 | 49.19 ▲19.99 |
Dashboard /wp-admin | 3.40 ▲0.34 | 79.00 ▲37.06 |
Posts /wp-admin/edit.php | 3.46 ▲0.35 | 55.32 ▲13.81 |
Add New Post /wp-admin/post-new.php | 5.70 ▲0.26 | 140.86 ▼1,257.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.27 | 61.92 ▲25.82 |
Priorities /wp-admin/edit.php?post_type=zwm_priority | 3.39 | 57.19 |
Column Widths /wp-admin/admin.php?page=zwm-cols | 3.25 | 37.35 |
Zeumic Shared Settings /wp-admin/admin.php?page=zsc-settings | 3.25 | 30.10 |
Departments /wp-admin/edit.php?post_type=zwm_department | 3.39 | 33.18 |
Use ZWM 0 /wp-admin/admin.php?page=zwm | 3.26 | 35.71 |
Settings /wp-admin/admin.php?page=zwm-settings | 3.25 | 38.21 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 56 new files
Database: 2 new tables, 1 new option
New tables |
---|
wp_zwm_list |
wp_zwm_list_users |
New WordPress options |
---|
zwm_version |
Browser metrics Passed 4 tests
An overview of browser requirements for ZWM Zeumic Work Management
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,773 ▲138 | 14.62 ▼1.09 | 15.05 ▲9.77 | 145.23 ▲66.33 |
Dashboard /wp-admin | 3,038 ▲131 | 5.99 ▼0.11 | 201.70 ▲57.78 | 281.87 ▲94.64 |
Posts /wp-admin/edit.php | 2,826 ▲90 | 2.75 ▲0.00 | 102.05 ▲36.07 | 216.32 ▲63.37 |
Add New Post /wp-admin/post-new.php | 1,642 ▼30 | 16.96 ▼1.80 | 1,270.38 ▲906.61 | 622.95 ▲452.72 |
Media Library /wp-admin/upload.php | 1,891 ▲87 | 5.06 ▲0.01 | 446.48 ▲289.16 | 862.90 ▲673.66 |
Priorities /wp-admin/edit.php?post_type=zwm_priority | 1,483 | 2.68 | 157.79 | 475.39 |
Column Widths /wp-admin/admin.php?page=zwm-cols | 1,201 | 2.53 | 81.07 | 341.52 |
Zeumic Shared Settings /wp-admin/admin.php?page=zsc-settings | 1,153 | 2.40 | 66.98 | 270.56 |
Departments /wp-admin/edit.php?post_type=zwm_department | 1,483 | 2.69 | 79.01 | 287.49 |
Use ZWM 0 /wp-admin/admin.php?page=zwm | 1,631 | 3.65 | 115.75 | 331.51 |
Settings /wp-admin/admin.php?page=zwm-settings | 1,170 | 2.53 | 114.59 | 342.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_zwm_list
- wp_zwm_list_users
- The uninstall procedure has failed, leaving 1 option in the database
- zwm_version
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\PluginDistributable' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/PluginCore.php:4
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\PluginCore' not found in wp-content/plugins/zwm-zeumic-work-management/src/Plugin.php:5
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\PluginCore' not found in wp-content/plugins/zwm-zeumic-work-management/src/Plugin.php:5
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Plugin' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/PluginDistributable.php:7
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Plugin' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/Common.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/zwm-zeumic-work-management/zsc/zsc-zeumic-suite-common.php:20
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Singleton' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/Plugin.php:8
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Singleton' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/PluginLoader.php:4
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\PluginDistributable' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/PluginExt.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/zwm-zeumic-work-management/zsc/zsc-zeumic-suite-common.php:20
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: You are using too many tags: 26 tag instead of maximum 10
zwm-zeumic-work-management/zwm-zeumic-work-management.php 85% from 13 tests
The principal PHP file in "ZWM Zeumic Work Management" v. 1.11.17 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 255 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("4.4" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected6,935 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 19 | 775 | 281 | 3,188 |
PHP | 18 | 526 | 1,025 | 2,862 |
CSS | 8 | 158 | 82 | 885 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 5 | 41.67% |
▷ Concrete classes | 7 | 58.33% |
▷ Final classes | 0 | 0.00% |
Methods | 189 | |
▷ Static methods | 5 | 2.65% |
▷ Public methods | 174 | 92.06% |
▷ Protected methods | 5 | 2.65% |
▷ Private methods | 10 | 5.29% |
Functions | 41 | |
▷ Named functions | 16 | 39.02% |
▷ Anonymous functions | 25 | 60.98% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
zsc/vendor/jquery-ui/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
zsc/img/refresh.png | 14.89KB | 0.50KB | ▼ 96.65% |
zsc/vendor/jquery-ui/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
zsc/vendor/jquery-ui/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
zsc/vendor/jquery-ui/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |