Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.35ms] Passed 4 tests
Server-side resources used by Abbreviation Button for the Block Editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.62 ▼1.17 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.96 ▼0.14 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.46 ▼6.90 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.94 ▼9.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.81 ▲4.27 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Abbreviation Button for the Block Editor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.20 ▼0.79 | 4.70 ▲3.10 | 40.52 ▲1.28 |
Dashboard /wp-admin | 2,203 ▲15 | 5.77 ▲0.86 | 96.45 ▼4.40 | 39.84 ▼0.90 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▼0.04 | 35.17 ▼7.27 | 30.99 ▼5.78 |
Add New Post /wp-admin/post-new.php | 1,521 ▼21 | 23.43 ▲5.46 | 603.28 ▼81.81 | 53.49 ▼13.66 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.15 ▼0.05 | 93.36 ▼17.12 | 42.00 ▼6.51 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please 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/abbreviation-button-for-the-block-editor/abbreviation-button-for-the-block-editor.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: acronym, block editor, lang, abbreviation, accessibility
abbreviation-button-for-the-block-editor/abbreviation-button-for-the-block-editor.php Passed 13 tests
This is the main PHP file of "Abbreviation Button for the Block Editor" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
80 characters long description:
Add an abbreviation format button to the formatting toolbar in the block editor.
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 detected27,575 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 27,470 |
JavaScript | 2 | 9 | 1 | 76 |
PHP | 2 | 3 | 9 | 21 |
Sass | 1 | 0 | 0 | 7 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 0 | |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
There were not PNG files found in your plugin