Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.11MB] [CPU: ▼178.62ms] Passed 4 tests
A check of server-side resources used by HTML entities button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 36.95 ▼3.96 |
Dashboard /wp-admin | 3.07 ▲0.01 | 51.68 ▼5.30 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 52.44 ▲0.64 |
Add New Post /wp-admin/post-new.php | 4.97 ▼0.46 | 88.08 ▼703.08 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 37.43 ▼2.13 |
html entities button /wp-admin/options-general.php?page=html-entities-button | 2.96 | 33.48 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 1 new option
New WordPress options |
---|
html-entities-button-db-version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HTML entities button
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲112 | 16.21 ▲0.31 | 8.51 ▼5.48 | 55.85 ▼1.65 |
Dashboard /wp-admin | 2,975 ▲47 | 6.10 ▲0.05 | 150.38 ▼23.22 | 129.44 ▼4.41 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.83 ▲0.11 | 68.56 ▼7.98 | 97.73 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,624 ▲9 | 21.55 ▲0.08 | 306.05 ▲5.18 | 117.22 ▼4.46 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.01 | 158.37 ▼12.82 | 128.18 ▼9.69 |
html entities button /wp-admin/options-general.php?page=html-entities-button | 1,360 | 2.09 | 66.78 | 114.49 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 1 option in the database
- html-entities-button-db-version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=html-entities-button
- > Notice in wp-content/plugins/html-entities-button/html-entities-button.php+263
Undefined index: fontSet
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/html-entities-button/html-entities-button.php:83
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Choose HTML entities.), #2 (Choose emoticons.), #3 (Choose recent posts.), #4 (Convert special characters), #5 (Choose wpemoji.), #6 (Entry the font-family.), #7 (Select the font-family and font-size.), #8 (Choose Dashicons.)
html-entities-button/html-entities-button.php Passed 13 tests
Analyzing the main PHP file in "HTML entities button" version 2.2.0
95 characters long description:
HTML entities button is a few inserting HTML entities button add to the admin post/page editor.
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
Everything looks great! No dangerous files found in this plugin930 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 212 | 838 |
PO File | 2 | 31 | 31 | 92 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 102.00 |
▷ Minimum class complexity | 102.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 7.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 56.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 43.75% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.20MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 54.27KB | 16.02KB | ▼ 70.48% |
screenshot-2.png | 12.65KB | 5.70KB | ▼ 54.96% |
screenshot-5.png | 86.78KB | 25.86KB | ▼ 70.20% |
screenshot-4.png | 10.70KB | 5.19KB | ▼ 51.44% |
screenshot-7.png | 9.93KB | 4.27KB | ▼ 56.99% |