Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▲1.99ms] Passed 4 tests
Server-side resources used by Projectify Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.55 ▼2.02 |
Dashboard /wp-admin | 4.03 ▲0.73 | 56.76 ▲8.14 |
Posts /wp-admin/edit.php | 4.09 ▲0.73 | 59.64 ▲8.63 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 96.23 ▼6.78 |
Media Library /wp-admin/upload.php | 3.89 ▲0.66 | 50.79 ▲11.71 |
Projects /wp-admin/admin.php?page=projectify-pro-projects | 3.99 | 52.09 |
Tasks /wp-admin/admin.php?page=projectify-pro-tasks | 3.95 | 54.68 |
Settings /wp-admin/admin.php?page=projectify-pro-settings | 4.00 | 46.76 |
Announcements /wp-admin/admin.php?page=projectify-pro-announcements | 3.92 | 47.04 |
Members /wp-admin/admin.php?page=projectify-pro-members | 3.95 | 48.62 |
Dashboard /wp-admin/admin.php?page=projectify-pro-panel | 4.07 | 51.39 |
Go Pro /wp-admin/admin.php?page=projectify-pro-gopro | 3.91 | 51.00 |
Teams /wp-admin/admin.php?page=projectify-pro-teams | 3.94 | 49.66 |
Server storage [IO: ▲10.77MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 1,733 new files
Database: 9 new tables, 9 new options
New tables |
---|
wp_btpjy_members |
wp_btpjy_announcements |
wp_btpjy_teams |
wp_btpjy_departments |
wp_btpjy_projects |
wp_btpjy_tasks |
wp_btpjy_files |
wp_btpjy_comments |
wp_btpjy_messages |
New WordPress options |
---|
btpjy_email_templates |
btpjy_settings |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
btpjy_email_settings |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Projectify Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲113 | 13.66 ▼1.07 | 1.58 ▼0.22 | 40.61 ▼6.27 |
Dashboard /wp-admin | 2,254 ▲66 | 5.91 ▲1.02 | 107.25 ▼2.96 | 40.15 ▼0.83 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.01 ▼0.01 | 40.30 ▲0.34 | 35.75 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,571 ▲58 | 22.97 ▲5.57 | 658.08 ▼59.78 | 59.62 ▼0.31 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.22 ▼0.01 | 97.63 ▼14.03 | 43.26 ▲0.96 |
Projects /wp-admin/admin.php?page=projectify-pro-projects | 1,505 | 3.65 | 64.31 | 47.86 |
Tasks /wp-admin/admin.php?page=projectify-pro-tasks | 1,680 | 4.42 | 77.17 | 63.89 |
Settings /wp-admin/admin.php?page=projectify-pro-settings | 4,485 | 13.73 | 419.52 | 50.85 |
Announcements /wp-admin/admin.php?page=projectify-pro-announcements | 1,450 | 4.16 | 66.82 | 46.80 |
Members /wp-admin/admin.php?page=projectify-pro-members | 1,414 | 3.82 | 61.33 | 34.70 |
Dashboard /wp-admin/admin.php?page=projectify-pro-panel | 1,720 | 3.83 | 59.96 | 47.03 |
Go Pro /wp-admin/admin.php?page=projectify-pro-gopro | 1,347 | 3.73 | 58.61 | 85.87 |
Teams /wp-admin/admin.php?page=projectify-pro-teams | 1,271 | 3.62 | 52.37 | 33.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 9 tables
- wp_btpjy_departments
- wp_btpjy_messages
- wp_btpjy_comments
- wp_btpjy_projects
- wp_btpjy_teams
- wp_btpjy_announcements
- wp_btpjy_files
- wp_btpjy_tasks
- wp_btpjy_members
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- db_upgraded
- btpjy_email_settings
- btpjy_settings
- btpjy_email_templates
- widget_recent-comments
- widget_theysaidso_widget
- 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
- > GET request to /wp-admin/admin.php?page=projectify-pro-settings
- > Notice in wp-content/plugins/projectify-lite/admin/inc/views/settings/notification.php+34
Undefined variable: classs
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 60× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/projectify-lite/admin/inc/actions/projectify-announce-action.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/projectify-lite/admin/inc/views/tasks/view.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/projectify-lite/admin/inc/views/settings/general.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/projectify-lite/admin/inc/views/announements/add.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/projectify-lite/admin/inc/views/settings/email.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/projectify-lite/admin/inc/views/members/add.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/projectify-lite/admin/inc/views/settings/notification.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/projectify-lite/admin/inc/views/projects/add.php:8
- > PHP Fatal error
require_once(): Failed opening required 'BTPJL_PLUGIN_DIR_PATH/admin/inc/views/nav/nav.php' (include_path='.:/usr/share/php') in wp-content/plugins/projectify-lite/admin/inc/controllers/projectify-settings-panel.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/projectify-lite/admin/inc/views/teams/view.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in projectify-lite/assets to your readme.txt
projectify-lite/projectify-lite.php 85% from 13 tests
The main file in "Projectify Lite" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 385 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected120,858 lines of code in 1,708 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 26 | 3,722 | 96 | 89,084 |
SVG | 1,616 | 1 | 15 | 16,340 |
PHP | 54 | 568 | 134 | 13,713 |
JavaScript | 12 | 204 | 86 | 1,721 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 41.09 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 116 | |
▷ Static methods | 112 | 96.55% |
▷ Public methods | 113 | 97.41% |
▷ Protected methods | 1 | 0.86% |
▷ Private methods | 2 | 1.72% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
2 PNG files occupy 1.00MB with 0.74MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/clockinator.png | 623.29KB | 182.37KB | ▼ 70.74% |
assets/images/projectify.png | 403.94KB | 92.00KB | ▼ 77.22% |