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 gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.98ms] Passed 4 tests
An overview of server-side resources used by Inline HTML, CSS & Javascript Minifier
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.36 ▼2.56 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.24 ▼2.16 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 51.92 ▲4.03 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 90.71 ▼0.00 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 38.28 ▲0.78 |
Inline HTML, CSS & Javascript Minifier /wp-admin/options-general.php?page=inline-html-css-javascript-minifier-settings | 3.24 | 33.34 |
Server storage [IO: ▲0.01MB] [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: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
inline_hcjm_options |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Inline HTML, CSS & Javascript Minifier
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,653 ▼133 | 14.23 ▼0.30 | 1.96 ▼0.36 | 42.47 ▼0.17 |
Dashboard /wp-admin | 2,193 ▲16 | 5.54 ▼0.06 | 87.51 ▼9.52 | 40.81 ▼0.70 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▲0.02 | 39.50 ▲2.44 | 34.36 ▲2.17 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.14 ▲4.88 | 675.93 ▲62.09 | 61.73 ▲1.96 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.15 ▼0.08 | 98.73 ▼5.91 | 46.31 ▼1.14 |
Inline HTML, CSS & Javascript Minifier /wp-admin/options-general.php?page=inline-html-css-javascript-minifier-settings | 806 | 2.00 | 25.87 | 28.44 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- inline_hcjm_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/inline-html-css-javascript-minifier/inline-html-css-javascript-minifier.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: minify, compress, html, javascript, performance...
inline-html-css-javascript-minifier/inline-html-css-javascript-minifier.php Passed 13 tests
The primary PHP file in "Inline HTML, CSS & Javascript Minifier" version 1.0.2 is used by WordPress to initiate all plugin functionality
53 characters long description:
Minify all front end code (HTML, CSS and Javascript).
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
No dangerous file extensions were detected230 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 66 | 230 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 7 | 58.33% |
▷ Anonymous functions | 5 | 41.67% |
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