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.26MB] [CPU: ▲2.87ms] 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.69 ▲0.23 | 39.68 ▲0.57 |
Dashboard /wp-admin | 3.61 ▲0.30 | 57.56 ▲11.16 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 52.21 ▲2.82 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 91.36 ▼3.08 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 46.12 ▲12.98 |
Column Widths /wp-admin/admin.php?page=zwm-cols | 3.43 | 41.96 |
Use ZWM 0 /wp-admin/admin.php?page=zwm | 3.45 | 42.73 |
Priorities /wp-admin/edit.php?post_type=zwm_priority | 3.57 | 41.87 |
Zeumic Shared Settings /wp-admin/admin.php?page=zsc-settings | 3.43 | 39.20 |
Departments /wp-admin/edit.php?post_type=zwm_department | 3.57 | 45.37 |
Settings /wp-admin/admin.php?page=zwm-settings | 3.43 | 41.00 |
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, 7 new options
New tables |
---|
wp_zwm_list_users |
wp_zwm_list |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_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 / | 2,876 ▲115 | 14.35 ▼0.02 | 1.76 ▲0.21 | 43.65 ▲0.67 |
Dashboard /wp-admin | 2,267 ▲87 | 5.60 ▼0.05 | 89.56 ▲3.11 | 43.61 ▲2.99 |
Posts /wp-admin/edit.php | 2,169 ▲66 | 2.02 ▼0.01 | 35.60 ▼4.10 | 34.52 ▼3.55 |
Add New Post /wp-admin/post-new.php | 1,588 ▲62 | 23.18 ▼0.46 | 647.01 ▲13.50 | 58.53 ▲4.01 |
Media Library /wp-admin/upload.php | 1,469 ▲72 | 4.24 ▲0.05 | 114.60 ▲11.80 | 48.08 ▲4.90 |
Column Widths /wp-admin/admin.php?page=zwm-cols | 938 | 2.17 | 27.76 | 28.83 |
Use ZWM 0 /wp-admin/admin.php?page=zwm | 1,342 | 2.72 | 55.00 | 27.37 |
Priorities /wp-admin/edit.php?post_type=zwm_priority | 1,133 | 1.94 | 32.39 | 34.05 |
Zeumic Shared Settings /wp-admin/admin.php?page=zsc-settings | 893 | 2.05 | 25.62 | 25.57 |
Departments /wp-admin/edit.php?post_type=zwm_department | 1,133 | 1.91 | 31.14 | 30.64 |
Settings /wp-admin/admin.php?page=zwm-settings | 904 | 2.20 | 27.17 | 28.10 |
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 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- zwm_version
- can_compress_scripts
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: Call to undefined function Zeumic\\ZSC\\Core\\trailingslashit() in wp-content/plugins/zwm-zeumic-work-management/zsc/load.php:31
- > 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\\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\\PluginCore' not found in wp-content/plugins/zwm-zeumic-work-management/src/Plugin.php:5
- > 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\\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\\PluginDistributable' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/PluginExt.php:4
- > 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\\Singleton' not found in wp-content/plugins/zwm-zeumic-work-management/zsc/src/PluginLoader.php:4
- > 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.18 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.4" instead of "3.0.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 255 characters long)
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_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
zsc/vendor/jquery-ui/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
zsc/img/refresh.png | 14.89KB | 0.50KB | ▼ 96.65% |
zsc/vendor/jquery-ui/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
zsc/vendor/jquery-ui/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |