Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼1.64MB] [CPU: ▼57.85ms] Passed 4 tests
Analyzing server-side resources used by Writing Project Tracker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.36 ▼1.11 | 7.13 ▼35.94 |
Dashboard /wp-admin | 2.38 ▼0.97 | 7.18 ▼56.19 |
Posts /wp-admin/edit.php | 2.38 ▼0.98 | 8.53 ▼37.75 |
Add New Post /wp-admin/post-new.php | 2.38 ▼3.51 | 6.67 ▼101.53 |
Media Library /wp-admin/upload.php | 2.38 ▼0.85 | 8.45 ▼29.43 |
Add New /wp-admin/post-new.php?post_type=wtpjtr_project | 2.38 | 7.30 |
Logs /wp-admin/edit.php?post_type=wtpjtr_project&page=wtpjtr_logs | 2.38 | 8.70 |
All Projects /wp-admin/edit.php?post_type=wtpjtr_project | 2.38 | 7.14 |
Project Type /wp-admin/edit-tags.php?taxonomy=wt_item_type&post_type=wtpjtr_project | 2.38 | 7.72 |
Server storage [IO: ▲3.92MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 88 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
write_tracke_activated |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Writing Project Tracker: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲240 | 14.25 ▼0.10 | 6.43 ▲4.54 | 27.85 ▼13.99 |
Dashboard /wp-admin | 2,283 ▲95 | 5.63 ▲0.71 | 120.55 ▲12.40 | 48.41 ▼0.38 |
Posts /wp-admin/edit.php | 3,984 ▲1,895 | 2.92 ▲0.91 | 69.25 ▲29.87 | 54.19 ▲13.89 |
Add New Post /wp-admin/post-new.php | 1,739 ▲211 | 23.23 ▼0.19 | 684.53 ▲2.36 | 42.53 ▼22.54 |
Media Library /wp-admin/upload.php | 1,462 ▲71 | 4.84 ▲0.69 | 102.81 ▼4.81 | 48.96 ▲1.86 |
Add New /wp-admin/post-new.php?post_type=wtpjtr_project | 2,971 | 7.90 | 218.49 | 82.91 |
Logs /wp-admin/edit.php?post_type=wtpjtr_project&page=wtpjtr_logs | 7,147 | 4.27 | 91.46 | 37.83 |
All Projects /wp-admin/edit.php?post_type=wtpjtr_project | 1,191 | 2.37 | 39.05 | 51.75 |
Project Type /wp-admin/edit-tags.php?taxonomy=wt_item_type&post_type=wtpjtr_project | 1,344 | 2.51 | 34.54 | 40.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/writing-project-tracker/includes/shortcode/functions.php+48
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- write_tracke_activated
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=wt_item_type&post_type=wtpjtr_project
- > Deprecated in wp-content/plugins/writing-project-tracker/includes/shortcode/functions.php+48
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function Writing_Project_Tracker\\Admin_Interface\\add_action() in wp-content/plugins/writing-project-tracker/includes/interface/admin-interface.php:4
- > 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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Invalid URI ("")
writing-project-tracker/writing-project-tracker.php 85% from 13 tests
The principal PHP file in "Writing Project Tracker" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("something")
- Domain Path: Prefix the domain path with a forward slash character ("/something")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin27,272 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 1,550 | 69 | 13,751 |
JavaScript | 57 | 2,639 | 2,761 | 12,685 |
PHP | 5 | 97 | 25 | 724 |
LESS | 1 | 1 | 8 | 112 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
colorpicker/img/hue.png | 2.90KB | 0.50KB | ▼ 82.71% |
colorpicker/img/alpha.png | 3.19KB | 1.68KB | ▼ 47.45% |
colorpicker/img/saturation.png | 8.61KB | 5.13KB | ▼ 40.41% |