Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-project-managment-ultimate/WPPM-Widget.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WPPM_Widget has a deprecated constructor
Server metrics [RAM: ▼1.60MB] [CPU: ▼46.56ms] Passed 4 tests
This is a short check of server-side resources used by WP Project Managment Ultimate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.40 ▼1.06 | 12.25 ▼24.47 |
Dashboard /wp-admin | 2.42 ▼0.93 | 7.48 ▼51.17 |
Posts /wp-admin/edit.php | 2.42 ▼0.94 | 8.69 ▼35.51 |
Add New Post /wp-admin/post-new.php | 2.42 ▼3.47 | 9.01 ▼72.78 |
Media Library /wp-admin/upload.php | 2.42 ▼0.81 | 8.21 ▼26.78 |
Type /wp-admin/edit-tags.php?taxonomy=project-type&post_type=projects | 2.42 | 8.03 |
Managment Options /wp-admin/edit.php?post_type=projects&page=wp_pm | 2.42 | 7.39 |
Projects /wp-admin/edit.php?post_type=projects | 2.42 | 7.70 |
Add New /wp-admin/post-new.php?post_type=projects | 2.42 | 7.58 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_wppm-widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Project Managment Ultimate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 14.74 ▲0.07 | 1.78 ▲0.29 | 46.24 ▲6.88 |
Dashboard /wp-admin | 2,225 ▲33 | 4.90 ▼0.03 | 100.56 ▼8.16 | 83.52 ▲42.19 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.00 ▼0.02 | 34.22 ▼0.64 | 33.90 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,577 ▲58 | 18.58 ▼4.43 | 660.83 ▼5.57 | 56.40 ▲5.49 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.13 ▼0.07 | 100.96 ▲4.88 | 46.34 ▲4.55 |
Type /wp-admin/edit-tags.php?taxonomy=project-type&post_type=projects | 1,299 | 2.13 | 28.73 | 30.86 |
Managment Options /wp-admin/edit.php?post_type=projects&page=wp_pm | 1,905 | 6.59 | 139.75 | 107.69 |
Projects /wp-admin/edit.php?post_type=projects | 1,397 | 2.00 | 35.52 | 27.33 |
Add New /wp-admin/post-new.php?post_type=projects | 2,988 | 8.04 | 190.86 | 129.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-project-managment-ultimate/WPPM-Widget.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WPPM_Widget has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_wppm-widget
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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)
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=projects
- > Deprecated in wp-content/plugins/wp-project-managment-ultimate/WPPM-Widget.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WPPM_Widget has a deprecated constructor
- 10 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=projects
- > Deprecated in wp-content/plugins/wp-project-managment-ultimate/WPPM-Ultimate.php+177
Non-static method WPPM_Ultimate_Usage::option() should not be called statically
- 13 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=projects
- > Notice in wp-content/plugins/wp-project-managment-ultimate/WPPM-Usage.php+17
Trying to access array offset on value of type bool
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=projects
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in WPPM_Widget is deprecated since version 4.3.0! Use __construct() instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=projects
- > Warning in wp-content/plugins/wp-project-managment-ultimate/WPPM-Metaboxes.php+152
Illegal string offset '_wppm_project_meta_paid'
- 14 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=projects
- > Notice in wp-content/plugins/wp-project-managment-ultimate/WPPM-Metaboxes.php+162
Uninitialized string offset: 0
- 11 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=projects
- > Warning in wp-content/plugins/wp-project-managment-ultimate/WPPM-Metaboxes.php+162
Illegal string offset '_wppm_project_meta_completed'
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-project-managment-ultimate/WPPM-Ultimate.php:51
- > PHP Fatal error
Uncaught Error: Class 'WPPM_Ultimate' not found in wp-content/plugins/wp-project-managment-ultimate/WPPM-Metaboxes.php:2
- > PHP Fatal error
Uncaught Error: Class 'WPPM_Ultimate' not found in wp-content/plugins/wp-project-managment-ultimate/WPPM-Notifications.php:2
- > PHP Fatal error
Uncaught Error: Class 'WPPM_Ultimate' not found in wp-content/plugins/wp-project-managment-ultimate/WPPM-Usage.php:2
- > PHP Fatal error
Uncaught Error: Class 'WPPM_Ultimate' not found in wp-content/plugins/wp-project-managment-ultimate/WPPM-Help.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-project-managment-ultimate/WPPM-Shortcode.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-project-managment-ultimate/template/single-projects.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-project-managment-ultimate/WPPM-Widget.php:6
- > PHP Fatal error
Uncaught Error: Class 'WPPM_Ultimate' not found in wp-content/plugins/wp-project-managment-ultimate/WPPM-Options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (The Projects List Screen - Contains additional fields in the post table to quickly see and filter projects. Projects sortable by end date, amount completed, or amount paid. Job numbers, Quote numbers, Invoice numbers (if used) can also bee seen here at a quick glance.), #2 (The Project Edit Screen - Contains Project Title, Description, Project Type (taxomony), Project Attachments (editable | deletable), Project Details (including: "start date", "end date", "job number", "quote number", "invoice number", "paid amount", "completed amount"), and project users list. All editable.), #3 (Project Start Date / End Date Meta Box - Uses jQuery datepicker for easier date picking.), #4 (Project Type (taxomony) - Project Taxomony used to seperate projects by type (example types could include: "web", "print", "video", "animation", "app development", "etc").), #5 (The Settings Page - This is where you can configure the settings for the notifications, allow/disallow the comment uploads feature, and change text/css for the included page template.), #6 (The Page Template - The included page template is very simply styled to cater for as many themes as possible. All the css is well selected and targeting elements is very easy. Or you can just copy the content of the template files to a new template within your theme and customize to your hearts content.)
wp-project-managment-ultimate/WPPM-Ultimate.php 85% from 13 tests
The primary PHP file in "WP Project Managment Ultimate" version 1.0.7 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-project-managment-ultimate.php" instead of "WPPM-Ultimate.php")
- Description: Keep the plugin description shorter than 140 characters (currently 347 characters long)
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 detected1,785 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 901 | 654 | 1,265 |
CSS | 3 | 50 | 152 | 416 |
JavaScript | 2 | 21 | 13 | 104 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 23.86 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 70 | 94.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 5.41% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
21 compressed PNG files occupy 1.10MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 188.68KB | 79.83KB | ▼ 57.69% |
includes/css/ui/custom-theme/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/16/icon.png | 0.75KB | 0.86KB | 0.00% |
includes/css/ui/custom-theme/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/css/ui/custom-theme/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |