Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼140.47ms] Passed 4 tests
Analyzing server-side resources used by Vmax Project Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 34.36 ▲10.70 |
Dashboard /wp-admin | 3.09 ▲0.03 | 42.01 ▼7.13 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 44.65 ▼0.20 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 91.17 ▼559.28 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 32.51 ▲4.73 |
Payment Report /wp-admin/admin.php?page=vpm-payment | 3.01 | 25.38 |
Staff /wp-admin/admin.php?page=vpm-staff | 3.01 | 29.33 |
Projects /wp-admin/admin.php?page=vpm-project | 3.01 | 22.14 |
Clients /wp-admin/admin.php?page=vpm-client | 3.01 | 27.94 |
Create project /wp-admin/admin.php?page=vpm-create-project | 3.01 | 27.77 |
Server storage [IO: ▲2.56MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 63 new files
Database: 7 new tables, no new options
New tables |
---|
wp_vpm_project |
wp_vpm_task |
wp_vpm_client |
wp_vpm_staff |
wp_vpm_file |
wp_vpm_payment |
wp_vpm_invoice |
Browser metrics Passed 4 tests
Checking browser requirements for Vmax Project Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,728 ▲132 | 15.80 ▲0.23 | 8.49 ▼2.09 | 45.50 ▼3.85 |
Dashboard /wp-admin | 3,016 ▲79 | 5.92 ▼0.05 | 136.68 ▼28.21 | 116.93 ▲2.01 |
Posts /wp-admin/edit.php | 2,785 ▲46 | 2.71 ▼0.00 | 64.23 ▼4.48 | 88.71 ▼6.77 |
Add New Post /wp-admin/post-new.php | 1,529 ▼161 | 18.76 ▼0.08 | 370.36 ▼29.90 | 102.67 ▼3.50 |
Media Library /wp-admin/upload.php | 1,856 ▲43 | 5.04 ▼0.01 | 143.83 ▲4.25 | 125.63 ▲7.59 |
Payment Report /wp-admin/admin.php?page=vpm-payment | 1,301 | 2.37 | 58.46 | 104.74 |
Staff /wp-admin/admin.php?page=vpm-staff | 1,158 | 2.16 | 56.56 | 90.28 |
Projects /wp-admin/admin.php?page=vpm-project | 1,126 | 2.13 | 54.25 | 82.77 |
Clients /wp-admin/admin.php?page=vpm-client | 1,158 | 2.37 | 54.96 | 88.64 |
Create project /wp-admin/admin.php?page=vpm-create-project | 1,357 | 2.36 | 59.98 | 78.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure failed, leaving 7 tables in the database
- wp_vpm_staff
- wp_vpm_file
- wp_vpm_payment
- wp_vpm_invoice
- wp_vpm_task
- wp_vpm_client
- wp_vpm_project
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 90 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vpm-create-project
- > Notice in wp-content/plugins/vmax-project-manager/view/notification.php+38
Undefined index: notify
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vpm-create-project
- > Notice in wp-content/plugins/vmax-project-manager/view/notification.php+45
Undefined variable: message
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/vmax-project-manager/vpm.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/vmax-project-manager/controller/controller.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
vmax-project-manager/vpm.php 92% from 13 tests
"Vmax Project Manager" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("vmax-project-manager.php" instead of "vpm.php")
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
There were no executable files found in this plugin9,227 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 0 | 15 | 7,008 |
PHP | 31 | 371 | 68 | 2,217 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 1.07MB with 1.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icons/create_staff.png | 64.32KB | 3.09KB | ▼ 95.19% |
assets/icons/payment_list.png | 64.32KB | 2.51KB | ▼ 96.09% |
assets/icons/delete.png | 64.32KB | 2.25KB | ▼ 96.50% |
assets/icons/active.png | 64.32KB | 4.00KB | ▼ 93.78% |
assets/icons/create_task.png | 64.32KB | 2.55KB | ▼ 96.03% |