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.04MB] [CPU: ▼3.09ms] Passed 4 tests
Server-side resources used by Expert HTML Section
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 42.80 ▼3.03 |
Dashboard /wp-admin | 3.35 ▲0.04 | 49.76 ▼2.53 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.81 ▲1.91 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.87 ▼3.84 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.73 ▼2.94 |
Add New /wp-admin/post-new.php?post_type=expert_html_section | 3.36 | 48.66 |
All Items /wp-admin/edit.php?post_type=expert_html_section | 3.31 | 47.56 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Expert HTML Section
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 14.35 ▼0.29 | 1.81 ▼0.30 | 45.25 ▲3.46 |
Dashboard /wp-admin | 2,222 ▲45 | 5.62 ▲0.01 | 79.83 ▼26.74 | 39.00 ▼4.34 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.98 ▼0.02 | 43.04 ▲6.31 | 36.50 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.09 ▼0.44 | 630.24 ▼72.66 | 53.84 ▼7.52 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.21 ▲0.01 | 99.78 ▼6.31 | 43.36 ▼3.44 |
Add New /wp-admin/post-new.php?post_type=expert_html_section | 2,162 | 7.69 | 168.83 | 63.32 |
All Items /wp-admin/edit.php?post_type=expert_html_section | 1,099 | 1.90 | 29.57 | 30.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/expert-html-section/expert-html-section.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Contributors: No tags were detected
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== expert-html-section ===
) - Contributors: Contributors not specified
expert-html-section/expert-html-section.php 92% from 13 tests
"Expert HTML Section" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected99 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 17 | 99 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin