Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/wp2jekyll/inc/converters/Markdownify/Converter.php+347
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Server metrics [RAM: ▼1.05MB] [CPU: ▼37.74ms] Passed 4 tests
This is a short check of server-side resources used by WordPress2Jekyll
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▼0.00 | 41.71 ▼5.87 |
Dashboard /wp-admin | 3.02 ▼0.28 | 25.54 ▼28.33 |
Posts /wp-admin/edit.php | 3.02 ▼0.82 | 27.94 ▼27.33 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 22.87 ▼88.19 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 27.22 ▼7.11 |
Jekyll /wp-admin/tools.php?page=wordpress2jekyll-build | 3.02 | 28.14 |
WordPress2Jekyll /wp-admin/options-general.php?page=wordpress2jekyll | 3.02 | 25.84 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 18 new options
New WordPress options |
---|
jekyll_save_pages |
widget_theysaidso_widget |
jekyll_posts_directory |
jekyll_path |
jekyll_export_taxonomies |
jekyll_assets_directory |
jekyll_taxonomies |
db_upgraded |
jekyll_export_users |
jekyll_export_post_meta |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress2Jekyll
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.26 ▼0.94 | 1.70 ▼0.79 | 37.93 ▼8.93 |
Dashboard /wp-admin | 2,214 ▲29 | 4.85 ▼1.05 | 101.52 ▼17.69 | 41.62 ▼6.32 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.02 ▼0.01 | 34.10 ▼5.54 | 33.22 ▼5.08 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.05 ▼0.30 | 695.10 ▲0.16 | 55.11 ▲2.82 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.22 ▲0.02 | 109.20 ▲0.95 | 47.22 ▲4.18 |
Jekyll /wp-admin/tools.php?page=wordpress2jekyll-build | 770 | 2.18 | 25.79 | 25.65 |
WordPress2Jekyll /wp-admin/options-general.php?page=wordpress2jekyll | 952 | 2.03 | 22.73 | 29.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wordpress2jekyll
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Markdownify\\Converter' not found in wp-content/plugins/wp2jekyll/inc/converters/Markdownify/ConverterExtra.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 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
6 plugin tags: github, yaml, blog, flat, jekyll...
wp2jekyll/wordpress2jekyll.php 85% from 13 tests
The entry point to "WordPress2Jekyll" version 0.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp2jekyll.php" instead of "wordpress2jekyll.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3,530 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 746 | 1,188 | 3,530 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 49.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 254.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 203 | |
▷ Static methods | 10 | 4.93% |
▷ Public methods | 67 | 33.00% |
▷ Protected methods | 73 | 35.96% |
▷ Private methods | 63 | 31.03% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.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