Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.44ms] Passed 4 tests
An overview of server-side resources used by Ultimate Markdown
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.10 ▼10.33 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.55 ▼5.56 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.47 ▼2.14 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 84.91 ▼11.74 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.97 ▼0.18 |
Options /wp-admin/admin.php?page=daextulma-options | 3.28 | 31.51 |
Pro Version /wp-admin/admin.php?page=daextulma-pro-version | 3.29 | 29.29 |
Export /wp-admin/admin.php?page=daextulma-export | 3.27 | 29.53 |
Documents /wp-admin/admin.php?page=daextulma-documents | 3.39 | 33.95 |
Help /wp-admin/admin.php?page=daextulma-help | 3.27 | 35.68 |
Import /wp-admin/admin.php?page=daextulma-import | 3.29 | 31.78 |
Server storage [IO: ▲2.37MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 539 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_daextulma_document |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
daextulma_import_menu_required_capability |
can_compress_scripts |
theysaidso_admin_options |
daextulma_database_version |
widget_recent-comments |
daextulma_documents_menu_required_capability |
db_upgraded |
daextulma_export_menu_required_capability |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Markdown
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲202 | 14.32 ▲0.18 | 1.59 ▼0.12 | 38.82 ▼7.85 |
Dashboard /wp-admin | 2,369 ▲192 | 5.60 ▼0.04 | 89.73 ▲0.52 | 39.19 ▼4.52 |
Posts /wp-admin/edit.php | 2,275 ▲175 | 2.04 ▲0.05 | 36.39 ▼9.76 | 34.39 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,592 ▲66 | 23.47 ▲0.34 | 659.92 ▲25.06 | 57.19 ▲4.28 |
Media Library /wp-admin/upload.php | 1,575 ▲175 | 4.17 ▲0.03 | 96.43 ▼3.73 | 43.01 ▼1.54 |
Options /wp-admin/admin.php?page=daextulma-options | 1,031 | 1.81 | 27.50 | 32.69 |
Pro Version /wp-admin/admin.php?page=daextulma-pro-version | 1,041 | 2.16 | 24.66 | 28.70 |
Export /wp-admin/admin.php?page=daextulma-export | 957 | 2.02 | 25.62 | 25.64 |
Documents /wp-admin/admin.php?page=daextulma-documents | 1,122 | 2.66 | 63.35 | 36.41 |
Help /wp-admin/admin.php?page=daextulma-help | 989 | 2.01 | 24.40 | 26.07 |
Import /wp-admin/admin.php?page=daextulma-import | 971 | 2.05 | 25.98 | 28.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 261× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'League\\CommonMark\\Extension\\FrontMatter\\Data\\FrontMatterDataParserInterface' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Extension/FrontMatter/Data/LibYamlFrontMatterParser.php:18
- > PHP Fatal error
Uncaught Error: Interface 'League\\CommonMark\\Renderer\odeRendererInterface' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Extension/CommonMark/Renderer/Block/ListItemRenderer.php:28
- > PHP Fatal error
Uncaught Error: Interface 'League\\Config\\ConfigurationProviderInterface' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Environment/EnvironmentInterface.php:26
- > PHP Fatal error
Uncaught Error: Class 'League\\CommonMark\\Event\\AbstractEvent' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Event/DocumentPreParsedEvent.php:22
- > PHP Fatal error
Uncaught Error: Interface 'League\\CommonMark\\Output\\RenderedContentInterface' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Output/RenderedContent.php:18
- > PHP Fatal error
Uncaught Error: Class 'League\\CommonMark\ode\\Block\\AbstractBlock' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Extension/CommonMark/Node/Block/IndentedCode.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Mni\\FrontYAML\\Markdown\\MarkdownParser' not found in wp-content/plugins/ultimate-markdown/vendor/mnapoli/front-yaml/src/Bridge/CommonMark/CommonMarkParser.php:12
- > PHP Fatal error
Uncaught Error: Interface 'League\\CommonMark\\Parser\\Block\\BlockStartParserInterface' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Extension/CommonMark/Parser/Block/FencedCodeStartParser.php:21
- > PHP Fatal error
Uncaught Error: Interface 'League\\CommonMark\\Parser\\Inline\\InlineParserInterface' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Extension/Attributes/Parser/AttributesInlineParser.php:24
- > PHP Fatal error
Uncaught Error: Interface 'League\\CommonMark\\Extension\\ConfigurableExtensionInterface' not found in wp-content/plugins/ultimate-markdown/vendor/league/commonmark/src/Extension/DisallowedRawHtml/DisallowedRawHtmlExtension.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
ultimate-markdown/init.php 92% from 13 tests
The main PHP file in "Ultimate Markdown" ver. 1.12 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-markdown.php" instead of "init.php")
Code Analysis 97% from 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 plugin36,825 lines of code in 510 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 402 | 6,357 | 9,237 | 19,589 |
JavaScript | 92 | 3,696 | 2,209 | 14,380 |
CSS | 11 | 578 | 70 | 2,729 |
Markdown | 4 | 38 | 0 | 115 |
XML | 1 | 3 | 3 | 12 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 8.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 299.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 93 | |
Interfaces | 62 | |
Traits | 3 | |
Classes | 330 | |
▷ Abstract classes | 7 | 2.12% |
▷ Concrete classes | 323 | 97.88% |
▷ Final classes | 234 | 72.45% |
Methods | 1,587 | |
▷ Static methods | 329 | 20.73% |
▷ Public methods | 1,408 | 88.72% |
▷ Protected methods | 8 | 0.50% |
▷ Private methods | 171 | 10.78% |
Functions | 70 | |
▷ Named functions | 35 | 50.00% |
▷ Anonymous functions | 35 | 50.00% |
Constants | 177 | |
▷ Global constants | 1 | 0.56% |
▷ Class constants | 176 | 99.44% |
▷ Public constants | 149 | 84.66% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 PNG files occupy 0.10MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/clone-hover.png | 18.71KB | 0.12KB | ▼ 99.34% |
admin/assets/img/select2-multiple-choice-close.png | 1.87KB | 0.29KB | ▼ 84.67% |
admin/assets/img/search-hover.png | 0.21KB | 0.21KB | 0.00% |
admin/assets/img/arrow-down-f7f7f7.png | 15.21KB | 0.15KB | ▼ 98.99% |
admin/assets/img/trash.png | 1.11KB | 0.19KB | ▼ 82.81% |