Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼12.00ms] Passed 4 tests
Analyzing server-side resources used by Project Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.47 ▲0.49 |
Dashboard /wp-admin | 3.36 ▲0.01 | 43.07 ▼16.62 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.54 ▼6.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 78.96 ▼25.34 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.21 ▲5.55 |
Add New /wp-admin/post-new.php?post_type=project | 3.43 | 51.34 |
Project Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 3.28 | 30.93 |
Projects /wp-admin/edit.php?post_type=project | 3.33 | 32.60 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Project Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 14.63 ▲0.25 | 1.99 ▲0.40 | 43.75 ▲0.90 |
Dashboard /wp-admin | 2,237 ▲46 | 4.85 ▼0.19 | 107.53 ▲10.22 | 36.31 ▼6.76 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.06 ▲0.05 | 38.92 ▼2.24 | 39.59 ▲3.28 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 17.81 ▼0.02 | 654.74 ▲0.50 | 62.58 ▲8.16 |
Media Library /wp-admin/upload.php | 1,419 ▲37 | 4.28 ▲0.10 | 94.58 ▼1.39 | 43.44 ▲0.12 |
Add New /wp-admin/post-new.php?post_type=project | 2,821 | 7.88 | 171.06 | 69.25 |
Project Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 1,296 | 2.14 | 28.26 | 26.17 |
Projects /wp-admin/edit.php?post_type=project | 1,158 | 1.93 | 31.23 | 32.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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
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 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 add_action() in wp-content/plugins/project-manager/Project_Manager.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (This screenshot shows the project management interface of our "Project Manager" plugin. This interface allows you to see all current projects at a glance, with information such as project name, due date, percentage of completion, team members, etc. It is possible to filter projects by category, add a new project, and perform actions on existing projects.), #2 (This screenshot shows the task management interface of our "Project Manager" plugin. This interface allows you to see all tasks assigned to team members, with information such as task name, deadline, assigned team member, percentage of completion, etc. It is possible to filter tasks by project, add a new task, and perform actions on existing tasks.)
project-manager/Project_Manager.php 85% from 13 tests
The entry point to "Project Manager" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("project-manager.php" instead of "Project_Manager.php")
- Description: The description should be shorter than 140 characters (currently 227 characters long)
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 plugin132 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 27 | 130 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.23MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 114.34KB | 40.68KB | ▼ 64.43% |
assets/screenshot-2.png | 119.17KB | 40.41KB | ▼ 66.09% |