Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼10.20ms] Passed 4 tests
Server-side resources used by WP2HTML
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.60 ▼4.71 |
Dashboard /wp-admin | 3.40 ▲0.05 | 44.10 ▼16.93 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.11 ▲2.10 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.97 ▼21.24 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.21 ▲2.08 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP2HTML
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.54 ▼0.85 | 1.74 ▲0.00 | 38.73 ▼4.91 |
Dashboard /wp-admin | 2,222 ▲31 | 4.84 ▼0.95 | 113.42 ▲6.62 | 42.09 ▼2.92 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 1.99 ▲0.00 | 35.30 ▼4.95 | 31.83 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.40 ▲0.11 | 670.52 ▼17.22 | 61.95 ▲7.53 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.19 ▼0.01 | 100.38 ▼8.27 | 42.20 ▼8.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WP2HTML_PLUGIN_TITLE - assumed 'WP2HTML_PLUGIN_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp2html/views/view_index.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp2html/views/view_index.php:7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Options.), #2 (Options. (JAPANESE))
wp2html/wp2html.php Passed 13 tests
This is the main PHP file of "WP2HTML" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
32 characters long description:
Make static HTMLs from WordPress
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 plugin668 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 99 | 128 | 597 |
CSS | 1 | 12 | 0 | 71 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 27.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 5 | 20.00% |
▷ Public methods | 14 | 56.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 44.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin