Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.39ms] Passed 4 tests
An overview of server-side resources used by Markdown Comment
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.80 ▼0.84 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.13 ▲0.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.06 ▲3.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.88 ▲6.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.71 ▼1.99 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Markdown Comment
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.48 ▲0.30 | 1.77 ▼0.43 | 39.48 ▼8.00 |
Dashboard /wp-admin | 2,206 ▲17 | 4.87 ▼0.04 | 112.69 ▼9.61 | 42.71 ▼5.84 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.05 | 39.32 ▲2.44 | 34.33 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.47 ▲0.13 | 598.09 ▼64.97 | 62.25 ▲1.35 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.21 ▲0.06 | 104.29 ▲0.49 | 44.68 ▲1.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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 need to be fixed:
- Screenshots: These screenshots require images: #1 (Comment with Markdown syntax), #2 (HTML comment publish)
markdown-comment/markdown-comment.php Passed 13 tests
Analyzing the main PHP file in "Markdown Comment" version 1.0
55 characters long description:
Adds the ability to use Markdown formatting in comment.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,258 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 427 | 359 | 1,258 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 230.00 |
▷ Minimum class complexity | 230.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 4 | 5.97% |
▷ Public methods | 9 | 13.43% |
▷ Protected methods | 58 | 86.57% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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 0.63MB with 0.39MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 261.77KB | 96.21KB | ▼ 63.25% |
screenshot-1.png | 383.21KB | 148.89KB | ▼ 61.15% |