Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼9.12ms] Passed 4 tests
An overview of server-side resources used by Word to html
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.86 ▲1.23 |
Dashboard /wp-admin | 3.40 ▲0.06 | 45.06 ▼19.56 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 51.62 ▲1.61 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 82.94 ▼19.75 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.88 ▲2.28 |
Word to html /wp-admin/tools.php?page=word-to-html | 3.29 | 30.95 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Word to html
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.32 ▼1.12 | 4.23 ▲2.38 | 43.79 ▼1.53 |
Dashboard /wp-admin | 2,212 ▲21 | 4.88 ▼1.02 | 109.55 ▲3.03 | 40.01 ▼7.96 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.01 ▼0.02 | 38.86 ▲4.93 | 36.59 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.19 ▲5.19 | 662.37 ▲25.46 | 54.37 ▲4.92 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.18 ▼0.00 | 92.87 ▼14.96 | 41.83 ▼0.45 |
Word to html /wp-admin/tools.php?page=word-to-html | 916 | 2.17 | 21.81 | 31.48 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/word-to-html/wordtohtml.php
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 90% 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
7 plugin tags: convert, word into html, docx, word to html, external...
word-to-html/wordtohtml.php 77% from 13 tests
The principal PHP file in "Word to html" v. 1.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("word-to-html.php" instead of "wordtohtml.php")
- Domain Path: The domain path folder does not exist ("/lang")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected947 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 218 | 132 | 946 |
CSS | 1 | 1 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 157)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 165.00 |
▷ Minimum class complexity | 165.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 19.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 157.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected