Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.26ms] Passed 4 tests
An overview of server-side resources used by AddQuicktag
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.48 ▼5.72 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.76 ▼0.28 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.19 ▼3.03 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.17 ▼20.02 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.09 ▲1.58 |
AddQuicktag /wp-admin/options-general.php?page=addquicktag/inc/class-settings.php | 3.25 | 31.33 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AddQuicktag
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.24 ▼1.12 | 1.73 ▼0.37 | 37.25 ▼11.19 |
Dashboard /wp-admin | 2,210 ▲25 | 5.90 ▼0.00 | 111.05 ▼5.99 | 44.21 ▼1.65 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.00 | 37.86 ▲3.89 | 37.97 ▲4.74 |
Add New Post /wp-admin/post-new.php | 1,523 ▼5 | 17.84 ▼0.40 | 680.44 ▲63.79 | 51.50 ▲3.11 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.05 | 98.15 ▼4.97 | 43.20 ▼2.48 |
AddQuicktag /wp-admin/options-general.php?page=addquicktag/inc/class-settings.php | 1,955 | 1.77 | 28.14 | 65.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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 | 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
Please take a closer look at the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/addquicktag/inc/class-imexport.php
- > /wp-content/plugins/addquicktag/inc/class-code-quicktags.php
- > /wp-content/plugins/addquicktag/inc/class-tinymce.php
- > /wp-content/plugins/addquicktag/inc/class-settings.php
- > /wp-content/plugins/addquicktag/inc/class-remove-quicktags.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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: quicktag, editor, add buttons, buttons, tinymce...
addquicktag/addquicktag.php 92% from 13 tests
The main file in "AddQuicktag" v. 2.6.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Success! There were no dangerous files found in this plugin1,989 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 243 | 574 | 1,153 |
JavaScript | 10 | 97 | 125 | 716 |
CSS | 4 | 12 | 9 | 120 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 22.83 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 7 | 15.56% |
▷ Public methods | 38 | 84.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 15.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin