Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.38ms] Passed 4 tests
Server-side resources used by Insert Special Characters
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.63 ▼12.76 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.33 ▼6.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.92 ▼2.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.66 ▼3.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.48 ▲0.80 |
Server storage [IO: ▲0.30MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Insert Special Characters
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.04 | 1.55 ▼0.20 | 35.87 ▼10.32 |
Dashboard /wp-admin | 2,192 ▲18 | 5.63 ▲0.08 | 92.23 ▲5.97 | 41.95 ▲4.30 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.97 ▼0.04 | 38.28 ▲3.33 | 34.96 ▲0.07 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 24.13 ▲0.99 | 639.23 ▼36.91 | 51.19 ▼15.27 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.28 ▲0.08 | 94.21 ▼2.14 | 40.37 ▼1.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function InsertSpecialCharacters\\plugin_dir_path() in wp-content/plugins/insert-special-characters/insert-special-characters.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function InsertSpecialCharacters\\add_action() in wp-content/plugins/insert-special-characters/inc/plugin.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: character map, special characters, block editor, gutenberg, omega...
insert-special-characters/insert-special-characters.php Passed 13 tests
"Insert Special Characters" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
72 characters long description:
A Special Character inserter for the WordPress block editor (Gutenberg).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected163 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 32 | 58 | 159 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected