Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▼4.51ms] Passed 4 tests
This is a short check of server-side resources used by Awesome Project Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.75 ▲3.11 |
Dashboard /wp-admin | 4.02 ▲0.68 | 52.88 ▼5.20 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 49.15 ▲0.03 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.72 | 82.26 ▼15.97 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 39.72 ▲7.28 |
Server storage [IO: ▲2.25MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: 9 new tables, 6 new options
New tables |
---|
wp_fpm_projects |
wp_fpm_folders |
wp_fpm_lists |
wp_fpm_comments |
wp_fpm_activities |
wp_fpm_subtasks |
wp_fpm_todos |
wp_fpm_project_user |
wp_fpm_messages |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Awesome Project Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,037 ▲302 | 15.06 ▲0.68 | 5.47 ▲3.89 | 44.50 ▲1.95 |
Dashboard /wp-admin | 2,363 ▲186 | 6.11 ▲0.48 | 104.21 ▲14.57 | 39.73 ▲3.73 |
Posts /wp-admin/edit.php | 2,291 ▲191 | 3.35 ▲1.32 | 48.59 ▲8.68 | 31.58 ▼10.93 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.04 ▼0.08 | 664.51 ▼21.74 | 37.00 ▼19.11 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.05 ▼0.15 | 81.05 ▼21.76 | 42.30 ▼5.64 |
Assignments /wp-admin/admin.php?page=fusion-pm#/my/assignments | 1,226 | 5.22 | 89.26 | 35.00 |
Projects /wp-admin/admin.php?page=fusion-pm#/ | 1,264 | 5.47 | 95.69 | 31.83 |
My Activity /wp-admin/admin.php?page=fusion-pm#/my/activity | 1,225 | 5.28 | 89.76 | 28.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 9 tables in the database
- wp_fpm_lists
- wp_fpm_subtasks
- wp_fpm_activities
- wp_fpm_projects
- wp_fpm_folders
- wp_fpm_project_user
- wp_fpm_todos
- wp_fpm_comments
- wp_fpm_messages
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/awesome-project-manager/views/admin.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: calendar, project manager, project, todo list, files...
awesome-project-manager/fusion-pm.php 92% from 13 tests
The principal PHP file in "Awesome Project Manager" v. 1.0.6 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("awesome-project-manager.php" instead of "fusion-pm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected10,188 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 942 | 344 | 3,083 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 3 | 468 | 427 | 2,517 |
CSS | 4 | 264 | 301 | 1,917 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 23.57 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 208.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 184 | |
▷ Static methods | 15 | 8.15% |
▷ Public methods | 179 | 97.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 2.72% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
14 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_inset-soft_95_fef1ec_1x100.png | 0.12KB | 0.16KB | 0.00% |
assets/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
assets/css/images/ui-icons_f6cf3b_256x240.png | 8.68KB | 4.11KB | ▼ 52.68% |
assets/css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |