Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.11ms] Passed 4 tests
Server-side resources used by Wordpress Volunteer Project Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.34 ▼0.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.59 ▼7.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.19 ▼3.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.68 ▼16.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.66 ▼1.38 |
Difficulty /wp-admin/edit-tags.php?taxonomy=wp-vpm-project_difficulty&post_type=wp-vpm-project | 3.04 | 25.48 |
Projects /wp-admin/edit.php?post_type=wp-vpm-project | 3.04 | 22.89 |
Add New Project /wp-admin/post-new.php?post_type=wp-vpm-project | 3.04 | 25.00 |
Scope /wp-admin/edit-tags.php?taxonomy=wp-vpm-project_scope&post_type=wp-vpm-project | 3.04 | 23.78 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Wordpress Volunteer Project Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.25 ▼1.13 | 1.92 ▲0.17 | 37.42 ▼3.68 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▼0.04 | 96.38 ▼4.55 | 36.89 ▼9.54 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▲0.03 | 36.82 ▼5.58 | 33.37 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.31 ▲5.10 | 644.03 ▼14.41 | 57.08 ▼1.63 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.03 | 97.23 ▼21.20 | 40.19 ▼7.74 |
Difficulty /wp-admin/edit-tags.php?taxonomy=wp-vpm-project_difficulty&post_type=wp-vpm-project | 28 | 0.44 | 0.09 | 3.80 |
Projects /wp-admin/edit.php?post_type=wp-vpm-project | 28 | 0.44 | 0.07 | 3.38 |
Add New Project /wp-admin/post-new.php?post_type=wp-vpm-project | 28 | 0.44 | 0.10 | 3.77 |
Scope /wp-admin/edit-tags.php?taxonomy=wp-vpm-project_scope&post_type=wp-vpm-project | 28 | 0.44 | 0.09 | 3.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/volunteer-project-manager/wp-vpmanager.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/edit-tags.php?taxonomy=wp-vpm-project_difficulty&post_type=wp-vpm-project
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=wp-vpm-project_difficulty&post_type=wp-vpm-project - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit.php?post_type=wp-vpm-project
- > Network (severe)
wp-admin/edit.php?post_type=wp-vpm-project - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/post-new.php?post_type=wp-vpm-project
- > Network (severe)
wp-admin/post-new.php?post_type=wp-vpm-project - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit-tags.php?taxonomy=wp-vpm-project_scope&post_type=wp-vpm-project
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=wp-vpm-project_scope&post_type=wp-vpm-project - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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 do not have images: #1 (Project listed with the shortcode functions placed above and below the content.), #2 (Admin metabox. Currently, meta options are hardcoded.)
volunteer-project-manager/wp-vpmanager.php 77% from 13 tests
The main PHP file in "Wordpress Volunteer Project Manager" ver. 0.3.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("volunteer-project-manager.php" instead of "wp-vpmanager.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin675 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 39 | 65 | 385 |
PHP | 1 | 28 | 22 | 285 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 70.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 29.41% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.37MB with 0.21MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 369.36KB | 109.21KB | ▼ 70.43% |
screenshot-2.png | 12.52KB | 7.40KB | ▼ 40.93% |