Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼142.13ms] Passed 4 tests
An overview of server-side resources used by Toggle wpautop
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 37.27 ▲3.22 |
Dashboard /wp-admin | 3.11 ▲0.06 | 49.24 ▲4.46 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 40.01 ▼4.19 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 89.99 ▼569.10 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 33.98 ▲1.55 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
lp_toggle_wpautop_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Toggle wpautop
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.34 ▲0.52 | 10.28 ▼1.70 | 49.54 ▲2.01 |
Dashboard /wp-admin | 2,970 ▲34 | 5.89 ▼0.25 | 143.22 ▼28.29 | 117.23 ▲6.35 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.01 | 79.17 ▲15.94 | 97.45 ▲6.98 |
Add New Post /wp-admin/post-new.php | 1,872 ▲189 | 19.13 ▲0.40 | 408.06 ▲35.03 | 106.81 ▼3.28 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.04 ▲0.04 | 156.35 ▼3.64 | 111.10 ▼3.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: post content, custom post types, wpautop, editor, add_filter...
toggle-wpautop/toggle-wpautop.php 92% from 13 tests
"Toggle wpautop" version 1.3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected304 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 119 | 179 |
JSON | 1 | 0 | 0 | 66 |
Markdown | 3 | 32 | 0 | 59 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin