Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.07MB] [CPU: ▼8.38ms] Passed 4 tests
Analyzing server-side resources used by Markdown Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.81 ▲1.32 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.08 ▼20.73 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.31 ▲3.74 |
Add New Post /wp-admin/post-new.php | 5.56 ▼0.32 | 83.70 ▼17.70 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.83 ▲3.61 |
Server storage [IO: ▲5.88MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Markdown Editor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.34 ▼1.00 | 1.54 ▼0.20 | 39.04 ▼4.64 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▼0.02 | 106.16 ▼9.61 | 42.11 ▼4.84 |
Posts /wp-admin/edit.php | 2,114 ▲22 | 2.70 ▲0.68 | 49.58 ▲12.50 | 42.54 ▲10.97 |
Add New Post /wp-admin/post-new.php | 1,790 ▲262 | 24.47 ▲6.07 | 498.80 ▼138.04 | 72.29 ▲9.20 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.21 ▼0.03 | 97.23 ▼0.99 | 42.88 ▼4.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: markdown, editor
markdown-editor/markdown-editor.php 92% from 13 tests
The main PHP file in "Markdown Editor" ver. 0.1.7 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin3,269 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 619 | 1,455 | 2,655 |
CSS | 5 | 95 | 22 | 524 |
JavaScript | 6 | 18 | 14 | 68 |
Markdown | 1 | 10 | 0 | 19 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview 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.24 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 171 | |
▷ Static methods | 2 | 1.17% |
▷ Public methods | 151 | 88.30% |
▷ Protected methods | 17 | 9.94% |
▷ Private methods | 3 | 1.75% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 16 | 76.19% |
▷ Class constants | 5 | 23.81% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin