Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼6.63ms] Passed 4 tests
Server-side resources used by Parsedown for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 39.44 ▲0.04 |
Dashboard /wp-admin | 3.54 ▲0.19 | 53.15 ▼5.46 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 48.90 ▲2.46 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 83.66 ▼23.55 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 35.62 ▲3.09 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Parsedown for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼1.40 | 1.50 ▼0.43 | 37.41 ▼7.91 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.03 | 109.57 ▲8.22 | 40.90 ▼4.15 |
Posts /wp-admin/edit.php | 2,089 ▲21 | 2.04 ▲0.03 | 38.11 ▲0.07 | 35.53 ▲1.30 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.11 ▼0.02 | 665.72 ▲0.87 | 60.58 ▲2.48 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.24 ▲0.07 | 104.13 ▼1.43 | 45.50 ▼0.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Parsedown' not found in wp-content/plugins/parsedown-wp/Parsedown/ParsedownExtra.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/parsedown-wp/parsedown-wp.php:80
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: posting, markup, formatting, writing, markdown
parsedown-wp/parsedown-wp.php Passed 13 tests
This is the main PHP file of "Parsedown for WordPress" version 0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
48 characters long description:
A drop-in Markdown plugin using Parsedown Extra.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,513 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 500 | 211 | 1,513 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 1 | 1.41% |
▷ Public methods | 16 | 22.54% |
▷ Protected methods | 54 | 76.06% |
▷ Private methods | 1 | 1.41% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin