Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼12.49ms] Passed 4 tests
This is a short check of server-side resources used by Markdown Highlighter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.80 ▼3.45 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.88 ▼24.14 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 47.03 ▼9.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.44 ▼13.24 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.78 ▼3.56 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Markdown Highlighter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.36 ▼1.29 | 5.09 ▲3.22 | 40.99 ▼3.11 |
Dashboard /wp-admin | 2,224 ▲21 | 5.90 ▲0.05 | 103.24 ▲2.27 | 38.91 ▼6.12 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.03 | 35.83 ▼6.54 | 33.62 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,546 ▲15 | 23.18 ▼0.10 | 688.29 ▲43.03 | 58.28 ▼3.47 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.06 | 97.70 ▼3.86 | 46.95 ▲2.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Parsedown' not found in wp-content/plugins/markdown-highlighter/parsedown/ParsedownExtra.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== markdown-highlighter ===
)
markdown-highlighter/markdown-highlighter.php Passed 13 tests
Analyzing the main PHP file in "Markdown Highlighter" version 0.1
33 characters long description:
Parse and Highlight The Markdown.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,486 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 479 | 200 | 1,478 |
CSS | 3 | 0 | 0 | 4 |
JavaScript | 1 | 0 | 1 | 2 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 66.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 2 | 2.86% |
▷ Public methods | 14 | 20.00% |
▷ Protected methods | 56 | 80.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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 are no PNG files in this plugin