Benchmarks
Plugin footprint Passed 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: ▲0.07MB] [CPU: ▼138.39ms] Passed 4 tests
Analyzing server-side resources used by article write time
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 38.12 ▲13.91 |
Dashboard /wp-admin | 3.13 ▲0.07 | 46.94 ▼6.49 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 50.86 ▲5.89 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 103.50 ▼552.56 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 36.63 ▼0.40 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by article write time
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲151 | 15.96 ▲0.39 | 10.45 ▲0.13 | 47.67 ▼2.70 |
Dashboard /wp-admin | 2,986 ▲49 | 5.90 ▼0.34 | 169.12 ▲3.02 | 117.25 ▲9.15 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.72 ▲0.00 | 76.17 ▼0.25 | 91.44 ▼10.77 |
Add New Post /wp-admin/post-new.php | 1,696 ▲81 | 15.69 ▼5.73 | 414.45 ▲88.07 | 115.93 ▲5.71 |
Media Library /wp-admin/upload.php | 1,768 ▼42 | 5.02 ▲0.01 | 162.64 ▲1.01 | 123.90 ▲6.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/write-time/write-time.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (Example that was displayed) image not found
write-time/write-time.php Passed 13 tests
This is the main PHP file of "article write time" version 0.3.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
50 characters long description:
To display the time it took to write the article .
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
There were no executable files found in this plugin925 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 21 | 418 |
JavaScript | 2 | 4 | 11 | 396 |
PO File | 2 | 3,120 | 8,129 | 62 |
CSS | 1 | 9 | 0 | 49 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin