Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲1.45ms] Passed 4 tests
This is a short check of server-side resources used by WP Triage
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.07 | 44.43 ▲5.08 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.51 ▲1.12 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 46.59 ▲2.11 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 82.64 ▼2.37 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.67 ▲4.94 |
Settings /wp-admin/admin.php?page=dtjwpt_settings | 3.31 | 31.64 |
Roles /wp-admin/admin.php?page=dtjwpt_roles | 3.33 | 34.24 |
Components /wp-admin/admin.php?page=dtjwpt_components | 3.24 | 29.24 |
Projects /wp-admin/admin.php?page=dtjwpt_triage | 3.33 | 34.82 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 27 new files
Database: 4 new tables, 15 new options
New tables |
---|
wp_dtjwpt_components |
wp_dtjwpt_tickets |
wp_dtjwpt_notes |
wp_dtjwpt_projects |
New WordPress options |
---|
dtjwpt_items_per_page |
dtjwpt_admin_toolbar_link |
widget_recent-comments |
dtjwpt_notify_by_email |
can_compress_scripts |
db_upgraded |
recovery_mode_email_last_sent |
widget_recent-posts |
dtjwpt_database_version |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Triage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲154 | 13.25 ▼1.06 | 1.63 ▼0.04 | 43.16 ▼0.81 |
Dashboard /wp-admin | 2,275 ▲87 | 5.90 ▲0.05 | 96.98 ▼3.74 | 39.05 ▼0.25 |
Posts /wp-admin/edit.php | 2,155 ▲66 | 2.06 ▼0.08 | 40.70 ▼0.08 | 34.64 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,566 ▲52 | 17.70 ▲0.12 | 659.07 ▲51.77 | 60.30 ▼0.99 |
Media Library /wp-admin/upload.php | 1,454 ▲63 | 4.22 ▲0.07 | 96.52 ▼0.00 | 42.03 ▲0.07 |
Settings /wp-admin/admin.php?page=dtjwpt_settings | 994 | 2.09 | 23.07 | 29.44 |
Roles /wp-admin/admin.php?page=dtjwpt_roles | 1,212 | 2.12 | 25.79 | 44.51 |
Components /wp-admin/admin.php?page=dtjwpt_components | 732 | 1.14 | 6.38 | 23.01 |
Projects /wp-admin/admin.php?page=dtjwpt_triage | 1,188 | 2.23 | 24.95 | 30.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables were found after uninstall: 4 tables
- wp_dtjwpt_projects
- wp_dtjwpt_notes
- wp_dtjwpt_components
- wp_dtjwpt_tickets
- The uninstall procedure has failed, leaving 15 options in the database
- db_upgraded
- dtjwpt_auto_assign_owners
- dtjwpt_uninstall_remember
- widget_recent-comments
- widget_recent-posts
- recovery_mode_email_last_sent
- can_compress_scripts
- dtjwpt_admin_toolbar_link
- dtjwpt_database_version
- dtjwpt_items_per_page
- ...
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=dtjwpt_components
- > Warning in wp-content/plugins/wp-triage/assets/includes/core.php+312
require_once(wp-content/plugins/wp-triage/assets/templates/components.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=dtjwpt_components
- > Compile error in wp-content/plugins/wp-triage/assets/includes/core.php+312
require_once(): Failed opening required 'wp-content/plugins/wp-triage/assets/templates/components.php' (include_path='.:/usr/share/php')
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: adopt-me, support, feature, bugs, tracker
wp-triage/wp-triage.php Passed 13 tests
The principal PHP file in "WP Triage" v. 1.4.2 is loaded by WordPress automatically on each request
54 characters long description:
An issue tracker for things that haven't gone to plan.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,089 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 1,273 | 645 | 2,342 |
JavaScript | 1 | 214 | 133 | 358 |
CSS | 1 | 66 | 3 | 308 |
Markdown | 2 | 46 | 0 | 81 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 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
There were not PNG files found in your plugin