Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-markupcollection/class-wp-markup-collection-class-factory.php+18
Function create_function() is deprecated
Server metrics [RAM: ▼1.88MB] [CPU: ▼53.83ms] Passed 4 tests
Server-side resources used by WP-MarkupCollection
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.35 | 6.48 ▼35.58 |
Dashboard /wp-admin | 2.13 ▼1.17 | 7.77 ▼40.40 |
Posts /wp-admin/edit.php | 2.13 ▼1.22 | 8.12 ▼41.32 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.76 | 8.18 ▼98.01 |
Media Library /wp-admin/upload.php | 2.13 ▼1.10 | 7.68 ▼31.72 |
Markup Collection /wp-admin/options-general.php?page=wp-markupcollection/lib/pages/class-wp-markup-collection-option-admin-page.php | 2.13 | 7.48 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 678 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP-MarkupCollection
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.35 | 1.69 ▼0.03 | 45.59 ▲3.70 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.04 | 90.75 ▲2.00 | 42.97 ▲3.80 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.03 | 41.26 ▲0.13 | 37.90 ▲3.40 |
Add New Post /wp-admin/post-new.php | 6,355 ▲4,829 | 26.25 ▲3.25 | 898.00 ▲223.55 | 56.04 ▲11.23 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.17 ▲0.03 | 99.71 ▼6.22 | 44.17 ▼2.68 |
Markup Collection /wp-admin/options-general.php?page=wp-markupcollection/lib/pages/class-wp-markup-collection-option-admin-page.php | 1,322 | 2.01 | 29.70 | 41.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-markupcollection/class-wp-markup-collection-class-factory.php+18
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-markupcollection/lib/pages/class-wp-markup-collection-option-admin-page.php
- > Deprecated in wp-content/plugins/wp-markupcollection/class-wp-markup-collection-class-factory.php+18
Function create_function() is deprecated
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-markupcollection/bootstrap.php
- 633× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Render' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Render/Cowiki/Strong.php:3
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Render' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Render/Cowiki/Revise.php:3
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Parse' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Parse/Cowiki/Embed.php:42
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Parse' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Parse/Doku/Heading.php:37
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Parse' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Parse/Mediawiki/Superscript.php:29
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Render' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Render/Latex/Url.php:4
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Parse' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Parse/Default/Blockquote.php:36
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Render' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Render/Latex/Blockquote.php:3
- > PHP Fatal error
Uncaught Error: Interface 'PEG_IParser' not found in wp-content/plugins/wp-markupcollection/vendor/PEG/Sequence.php:9
- > PHP Fatal error
Uncaught Error: Class 'Text_Wiki_Render' not found in wp-content/plugins/wp-markupcollection/vendor/Text/Wiki/Render/Latex/Anchor.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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: pandoc, dokuwiki, textile, multimarkdown, hatenasyntax...
wp-markupcollection/wp-markup-collection.php 85% from 13 tests
The principal PHP file in "WP-MarkupCollection" v. 1.1.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-markupcollection.php" instead of "wp-markup-collection.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin25,807 lines of code in 658 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 657 | 7,638 | 26,821 | 25,678 |
PO File | 1 | 51 | 63 | 129 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 287.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 662 | |
▷ Abstract classes | 4 | 0.60% |
▷ Concrete classes | 658 | 99.40% |
▷ Final classes | 0 | 0.00% |
Methods | 1,533 | |
▷ Static methods | 97 | 6.33% |
▷ Public methods | 1,264 | 82.45% |
▷ Protected methods | 251 | 16.37% |
▷ Private methods | 18 | 1.17% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 43 | |
▷ Global constants | 42 | 97.67% |
▷ Class constants | 1 | 2.33% |
▷ Public constants | 1 | 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
There were not PNG files found in your plugin