Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.14MB] [CPU: ▼21.91ms] Passed 4 tests
Server-side resources used by Track-Your-Writing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.35 ▼3.61 |
Dashboard /wp-admin | 3.23 ▼0.12 | 36.72 ▼36.09 |
Posts /wp-admin/edit.php | 3.29 ▼0.06 | 41.23 ▼10.54 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 76.36 ▼35.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.78 ▼5.44 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Track-Your-Writing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 13.67 ▼0.96 | 3.88 ▲2.26 | 41.20 ▼3.04 |
Dashboard /wp-admin | 2,223 ▲46 | 5.61 ▼0.05 | 104.35 ▲4.88 | 40.23 ▼4.70 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.66 ▲0.68 | 40.73 ▲7.10 | 35.23 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,702 ▲174 | 23.45 ▲0.32 | 646.52 ▼66.08 | 28.54 ▼24.53 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 5.10 ▲0.94 | 104.31 ▼0.76 | 42.30 ▼3.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/track-your-writing/track-your-writing.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: writing, statistics, productivity
track-your-writing/track-your-writing.php Passed 13 tests
This is the main PHP file of "Track-Your-Writing" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
134 characters long description:
Track your and your site author's productivity with accurate and stunning visual data. Compare your progress and beat your past score!
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
No dangerous file extensions were detected17,380 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 2,610 | 397 | 14,863 |
Markdown | 4 | 613 | 0 | 2,193 |
PHP | 5 | 48 | 158 | 259 |
CSS | 1 | 16 | 7 | 65 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 22 | 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 | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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