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.10MB] [CPU: ▼4.08ms] Passed 4 tests
Analyzing server-side resources used by Forget About Shortcode Buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 32.04 ▼11.65 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.97 ▼5.05 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 51.66 ▼2.79 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 99.58 ▲3.17 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.39 ▲4.69 |
Server storage [IO: ▲1.35MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Forget About Shortcode Buttons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 14.47 ▲0.07 | 1.66 ▼0.13 | 41.34 ▼4.29 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.04 | 109.91 ▲5.12 | 41.45 ▼5.58 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.06 | 40.21 ▲4.45 | 38.32 ▲5.95 |
Add New Post /wp-admin/post-new.php | 3,311 ▲1,797 | 19.40 ▲1.78 | 645.14 ▼33.10 | 35.23 ▼19.52 |
Media Library /wp-admin/upload.php | 3,198 ▲1,813 | 4.49 ▲0.28 | 103.67 ▲6.14 | 45.84 ▲4.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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 no errors were found, this is by no means 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
The following issues need your attention
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-web-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-brand-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-directional-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-currency-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/dashicons-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/forget-about-shortcode-buttons-admin-backbone-templates.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-medical-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-editor-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-media-grid.php
- > /wp-content/plugins/forget-about-shortcode-buttons/admin/partials/fa-form-grid.php
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
forget-about-shortcode-buttons/forget-about-shortcode-buttons.php Passed 13 tests
The main file in "Forget About Shortcode Buttons" v. 2.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
75 characters long description:
A visual way to add CSS buttons in the rich text editor and to your themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin3,677 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 324 | 113 | 2,086 |
PHP | 20 | 245 | 551 | 1,171 |
SVG | 1 | 0 | 0 | 414 |
JavaScript | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin