Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.12MB] [CPU: ▼8.80ms] Passed 4 tests
An overview of server-side resources used by Markup Markdown
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.87 | 54.82 ▲13.43 |
Dashboard /wp-admin | 3.84 ▲0.53 | 48.29 ▲0.95 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 50.88 ▲3.14 |
Add New Post /wp-admin/post-new.php | 3.90 ▼1.99 | 56.56 ▼44.44 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 40.34 ▲5.16 |
Markup Markdown /wp-admin/options-general.php?page=markup-markdown-admin | 3.69 | 33.04 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Illegal file modification found: 3 files (0.26KB) outside of "wp-content/plugins/markup-markdown/" and "wp-content/uploads/"
- (new file) wp-content/mmd-cache/index.php
- (new file) wp-content/mmd-cache/.1_1.html
- (new file) wp-content/mmd-cache/conf.php
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Markup Markdown
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,780 ▲18 | 13.25 ▼1.09 | 11.49 ▲9.69 | 47.92 ▲1.89 |
Dashboard /wp-admin | 2,025 ▼152 | 5.37 ▼0.24 | 84.73 ▼9.29 | 39.29 ▼4.67 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▲0.00 | 37.14 ▲0.70 | 35.62 ▲3.57 |
Add New Post /wp-admin/post-new.php | 2,858 ▲1,332 | 5.14 ▼17.92 | 176.14 ▼548.75 | 95.49 ▲40.59 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.26 ▲0.06 | 102.03 ▲2.56 | 42.08 ▼3.28 |
Markup Markdown /wp-admin/options-general.php?page=markup-markdown-admin | 981 | 1.88 | 30.67 | 34.13 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is not present
markup-markdown/markup-markdown.php 92% from 13 tests
This is the main PHP file of "Markup Markdown" version 2.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
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
No dangerous file extensions were detected24,303 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 2,076 | 109 | 11,386 |
JavaScript | 16 | 1,901 | 2,130 | 9,665 |
PHP | 19 | 866 | 795 | 3,248 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 27.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 1 | 5.00% |
▷ Concrete classes | 19 | 95.00% |
▷ Final classes | 1 | 5.26% |
Methods | 166 | |
▷ Static methods | 4 | 2.41% |
▷ Public methods | 91 | 54.82% |
▷ Protected methods | 65 | 39.16% |
▷ Private methods | 10 | 6.02% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lightbox2/images/prev.png | 1.33KB | 1.59KB | 0.00% |
assets/lightbox2/images/next.png | 1.32KB | 1.58KB | 0.00% |
assets/lightbox2/images/close.png | 0.27KB | 0.29KB | 0.00% |