Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/mark-it-down-wp/markdown/lib/extra.php+796
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.47MB] [CPU: ▼47.64ms] Passed 4 tests
A check of server-side resources used by Mark It Down Wordpress!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.51 ▼0.95 | 5.12 ▼30.97 |
Dashboard /wp-admin | 2.53 ▼0.77 | 6.51 ▼39.72 |
Posts /wp-admin/edit.php | 2.53 ▼0.82 | 8.23 ▼39.10 |
Add New Post /wp-admin/post-new.php | 2.53 ▼3.35 | 7.00 ▼80.77 |
Media Library /wp-admin/upload.php | 2.53 ▼0.69 | 6.42 ▼28.48 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpcom_publish_comments_with_markdown |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
wpcom_publish_posts_with_markdown |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Mark It Down Wordpress!: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.48 ▲0.10 | 1.72 ▼0.27 | 43.01 ▼0.07 |
Dashboard /wp-admin | 2,209 ▲18 | 4.85 ▼0.04 | 109.69 ▼8.49 | 38.38 ▼9.97 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.02 | 40.00 ▲1.97 | 35.49 ▲1.34 |
Add New Post /wp-admin/post-new.php | 6,075 ▲4,533 | 19.82 ▼3.20 | 792.60 ▲117.97 | 89.25 ▲35.97 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▼0.01 | 97.13 ▼7.42 | 43.84 ▼0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/mark-it-down-wp/markdown/lib/extra.php+796
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- widget_recent-posts
- wpcom_publish_posts_with_markdown
- widget_recent-comments
- db_upgraded
- wpcom_publish_comments_with_markdown
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'MarkdownExtra_Parser' not found in wp-content/plugins/mark-it-down-wp/markdown/lib/gfm.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mark-it-down-wp/markdown/easy-markdown.php:763
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mark-it-down-wp/markitdownwordpress.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% 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, markup
mark-it-down-wp/markitdownwordpress.php 69% from 13 tests
The principal PHP file in "Mark It Down Wordpress!" v. 2.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Description: Please don't use more than 140 characters for the plugin description (currently 171 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("mark-it-down-wp.php" instead of "markitdownwordpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,616 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 566 | 1,378 | 2,583 |
JSON | 1 | 0 | 0 | 17 |
Markdown | 1 | 3 | 0 | 16 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 2.55 |
▷ 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 | 161 | |
▷ Static methods | 4 | 2.48% |
▷ Public methods | 142 | 88.20% |
▷ Protected methods | 17 | 10.56% |
▷ Private methods | 2 | 1.24% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 11 | 68.75% |
▷ Class constants | 5 | 31.25% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin