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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.87ms] Passed 4 tests
This is a short check of server-side resources used by WP Yt Markdown
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 37.12 ▼7.66 |
Dashboard /wp-admin | 3.38 ▲0.07 | 44.85 ▼3.36 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.12 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.77 ▼16.63 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.20 ▲3.23 |
Wp Yt Markdown /wp-admin/options-general.php?page=wpYtMarkdown | 3.27 | 30.91 |
Server storage [IO: ▲6.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 560 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
wp_ymd_options |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
WP Yt Markdown: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲208 | 16.49 ▲2.17 | 5.08 ▲2.89 | 38.97 ▼7.39 |
Dashboard /wp-admin | 2,228 ▲43 | 6.99 ▲1.14 | 141.77 ▲34.69 | 41.14 ▼3.74 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 4.02 ▲2.03 | 47.26 ▲9.12 | 57.26 ▲21.12 |
Add New Post /wp-admin/post-new.php | 6,468 ▲4,924 | 27.17 ▲8.69 | 849.32 ▲180.36 | 46.47 ▼18.96 |
Media Library /wp-admin/upload.php | 1,410 ▲19 | 5.86 ▲1.67 | 107.77 ▲2.57 | 40.16 ▼6.59 |
Wp Yt Markdown /wp-admin/options-general.php?page=wpYtMarkdown | 1,296 | 4.01 | 37.35 | 27.49 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wpYtMarkdown
- > Notice in wp-content/plugins/wp-yt-markdown/inc/wp_yt_markdown_setting.php+4
Undefined index: wp_ymd_options
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 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wpYtMarkdown
- > Network (severe)
wp-content/plugins/wp-yt-markdown/mdeditoryt/lib/highlightjs/styles/defualt.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-yt-markdown ===
)
wp-yt-markdown/wp-yt-markdown.php 92% from 13 tests
The main file in "WP Yt Markdown" v. 0.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected74,314 lines of code in 474 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 209 | 9,036 | 7,460 | 54,330 |
HTML | 123 | 2,446 | 8 | 12,920 |
CSS | 135 | 1,275 | 732 | 6,612 |
PHP | 3 | 37 | 91 | 319 |
Markdown | 3 | 38 | 0 | 78 |
PO File | 1 | 19 | 24 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
mdeditoryt/lib/highlightjs/styles/brown-papersq.png | 17.77KB | 9.92KB | ▼ 44.16% |
mdeditoryt/lib/highlightjs/styles/school-book.png | 0.47KB | 0.34KB | ▼ 27.37% |