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: ▲3.97MB] [CPU: ▲19.71ms] Passed 4 tests
A check of server-side resources used by Zephyr Project Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.33 ▲3.86 | 59.44 ▲21.32 |
Dashboard /wp-admin | 7.35 ▲4.04 | 72.19 ▲21.60 |
Posts /wp-admin/edit.php | 7.40 ▲4.04 | 79.16 ▲31.26 |
Add New Post /wp-admin/post-new.php | 10.02 ▲4.13 | 109.47 ▲6.04 |
Media Library /wp-admin/upload.php | 7.18 ▲3.95 | 64.55 ▲29.89 |
Server storage [IO: ▲9.74MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 206 new files
Database: 5 new tables, 10 new options
New tables |
---|
wp_zpm_categories |
wp_zpm_tasks |
wp_zpm_projects |
wp_zpm_activity |
wp_zpm_messages |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
zpm_chart_data |
zpm_statuses |
can_compress_scripts |
theysaidso_admin_options |
zpm_db_version |
zpm_database_version |
Browser metrics Passed 4 tests
A check of browser resources used by Zephyr Project Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲207 | 16.44 ▲2.09 | 1.55 ▼0.24 | 37.84 ▼2.80 |
Dashboard /wp-admin | 2,359 ▲185 | 7.75 ▲2.17 | 134.90 ▲49.47 | 97.12 ▲56.26 |
Posts /wp-admin/edit.php | 2,299 ▲196 | 5.18 ▲3.22 | 57.84 ▲15.98 | 71.07 ▲34.13 |
Add New Post /wp-admin/post-new.php | 1,442 ▼95 | 19.14 ▼4.15 | 678.92 ▲66.66 | 39.32 ▼7.84 |
Media Library /wp-admin/upload.php | 1,445 ▲45 | 5.42 ▲1.24 | 88.91 ▼17.64 | 81.47 ▲36.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 5 tables in the database
- wp_zpm_activity
- wp_zpm_messages
- wp_zpm_tasks
- wp_zpm_projects
- wp_zpm_categories
- Zombie WordPress options were found after uninstall: 10 options
- zpm_statuses
- db_upgraded
- zpm_db_version
- widget_theysaidso_widget
- theysaidso_admin_options
- zpm_chart_data
- widget_recent-posts
- zpm_database_version
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
The use statement with non-compound name 'DateTime' has no effect in wp-content/plugins/zephyr-project-manager/templates/parts/task-panel.php on line 4
- > PHP Warning
The use statement with non-compound name 'DateTime' has no effect in wp-content/plugins/zephyr-project-manager/templates/email_templates/task_notifications_email.php on line 8
- > PHP Warning
The use statement with non-compound name 'DateTime' has no effect in wp-content/plugins/zephyr-project-manager/templates/parts/project-panel.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/zephyr-project-manager/includes/strings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/zephyr-project-manager/templates/edit_members.php:4
- > PHP Fatal error
Uncaught Error: Class 'ZephyrProjectManager\\Base\\BaseController' not found in wp-content/plugins/zephyr-project-manager/includes/Pages/Admin.php:23
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots need descriptions #11, #12, #13, #2, #3, #4, #5, #6, #7, #8, #9 in zephyr-project-manager/assets to your readme.txt
- Tags: You are using too many tags: 15 tag instead of maximum 10
zephyr-project-manager/zephyr-project-manager.php Passed 13 tests
The main PHP script in "Zephyr Project Manager" version 3.3.96 is automatically included on every request by WordPress
96 characters long description:
A modern project manager for WordPress to keep track of all your projects from within WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected79,300 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 12,201 | 31,970 | 28,354 |
PHP | 87 | 4,934 | 2,066 | 25,064 |
CSS | 16 | 2,781 | 228 | 13,834 |
JavaScript | 15 | 1,877 | 1,040 | 11,822 |
SVG | 3 | 0 | 0 | 201 |
JSON | 2 | 0 | 0 | 23 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 57.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 651.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 55 | 100.00% |
▷ Final classes | 1 | 1.82% |
Methods | 992 | |
▷ Static methods | 570 | 57.46% |
▷ Public methods | 981 | 98.89% |
▷ Protected methods | 5 | 0.50% |
▷ Private methods | 6 | 0.60% |
Functions | 208 | |
▷ Named functions | 52 | 25.00% |
▷ Anonymous functions | 156 | 75.00% |
Constants | 43 | |
▷ Global constants | 42 | 97.67% |
▷ Class constants | 1 | 2.33% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
27 PNG files occupy 1.01MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon_sprite.png | 0.79KB | 0.64KB | ▼ 19.06% |
assets/img/project_scrum.png | 1.89KB | 0.84KB | ▼ 55.45% |
assets/img/welcome-image.png | 58.84KB | 24.20KB | ▼ 58.87% |
assets/img/icon-custom.png | 5.33KB | 2.46KB | ▼ 53.90% |
assets/img/icon-tasks.png | 4.46KB | 2.72KB | ▼ 38.98% |