Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.33ms] Passed 4 tests
Server-side resources used by Recent Posts Markdown Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.55 ▲4.15 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.46 ▼15.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 61.00 ▲14.94 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.29 ▼15.21 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.24 ▲0.92 |
Recent Posts Markdown /wp-admin/tools.php?page=recentpostmd | 3.19 | 29.82 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Recent Posts Markdown Generator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 14.48 ▼0.17 | 1.98 ▲0.14 | 45.24 ▼0.12 |
Dashboard /wp-admin | 2,207 ▲18 | 5.84 ▲0.96 | 97.43 ▼19.54 | 36.44 ▼11.06 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▼0.00 | 34.09 ▲0.71 | 34.79 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 22.77 ▼0.36 | 654.74 ▼20.02 | 54.48 ▲7.54 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.27 ▲0.09 | 95.32 ▼6.44 | 39.71 ▼2.69 |
Recent Posts Markdown /wp-admin/tools.php?page=recentpostmd | 805 | 2.04 | 23.63 | 33.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/tools.php?page=recentpostmd
- > Notice in wp-content/plugins/recent-posts-markdown/recent-posts-md.php+47
Undefined index: recentpostmd
- > GET request to /wp-admin/tools.php?page=recentpostmd
- > Notice in wp-content/plugins/recent-posts-markdown/recent-posts-md.php+93
Undefined index: postType
- 3 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=recentpostmd
- > Notice in wp-content/plugins/recent-posts-markdown/recent-posts-md.php+97
Undefined variable: submittedType
- > GET request to /wp-admin/tools.php?page=recentpostmd
- > Notice in wp-content/plugins/recent-posts-markdown/recent-posts-md.php+105
Undefined variable: submittedCount
- > GET request to /wp-admin/tools.php?page=recentpostmd
- > Notice in wp-content/plugins/recent-posts-markdown/recent-posts-md.php+109
Undefined variable: markdownContent
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recent-posts-markdown/recent-posts-md.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: markdown, link list, recent posts, seo
recent-posts-markdown/recent-posts-md.php 92% from 13 tests
The main PHP file in "Recent Posts Markdown Generator" ver. 0.0.7 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: It is recommended to name the main PHP file as the plugin slug ("recent-posts-markdown.php" instead of "recent-posts-md.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin7,066 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 6,767 |
CSS | 1 | 1 | 1 | 104 |
JavaScript | 2 | 54 | 33 | 89 |
PHP | 1 | 38 | 11 | 86 |
Markdown | 1 | 10 | 0 | 20 |
PHP code Passed 2 tests
An short overview of 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.30 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin