Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼1.22MB] [CPU: ▼42.79ms] Passed 4 tests
Server-side resources used by Keequotes U-Print – Graphic Design Online
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 13.90 ▼29.00 |
Dashboard /wp-admin | 2.79 ▼0.51 | 16.17 ▼32.63 |
Posts /wp-admin/edit.php | 2.79 ▼0.56 | 16.63 ▼30.13 |
Add New Post /wp-admin/post-new.php | 2.79 ▼3.09 | 20.02 ▼79.41 |
Media Library /wp-admin/upload.php | 2.79 ▼0.44 | 15.91 ▼15.32 |
Setting /wp-admin/admin.php?page=setting_plugin | 2.79 | 15.65 |
Server storage [IO: ▲18.06MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/keequotes-graphic-design-online/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/keequotes-graphic-design-online/assets/banner-772\303\227250.jpg"
Filesystem: 1,910 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Keequotes U-Print – Graphic Design Online
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.24 ▼1.14 | 1.77 ▲0.09 | 41.48 ▲1.56 |
Dashboard /wp-admin | 2,215 ▲23 | 5.84 ▲0.94 | 101.48 ▼5.83 | 39.89 ▼3.29 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.00 ▼0.02 | 39.50 ▲1.05 | 36.40 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,905 ▲363 | 22.07 ▲3.87 | 753.72 ▲122.34 | 33.58 ▼16.63 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.29 ▲0.13 | 93.78 ▼6.71 | 43.06 ▼1.43 |
Setting /wp-admin/admin.php?page=setting_plugin | 850 | 2.06 | 25.76 | 66.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function register_block_script_handle was called incorrectly. The asset file (wp-content/plugins/keequotes-graphic-design-online/assets/js/block.asset.php) for the "editorScript" defined in "keequotes-graphic-design-online/my-design-graphic" block definition is missing. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=setting_plugin
- > User notice in wp-includes/functions.php+5905
Function register_block_script_handle was called incorrectly. The asset file (wp-content/plugins/keequotes-graphic-design-online/assets/js/block.asset.php) for the "editorScript" defined in "keequotes-graphic-design-online/my-design-graphic" block definition is missing. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
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
Almost there! Just fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/keequotes-graphic-design-online/tinymce-custom/tinymce-custom-link-class.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/keequotes-graphic-design-online/functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/keequotes-graphic-design-online/setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/keequotes-graphic-design-online/templates/template_single_v2.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/keequotes-graphic-design-online/card-design.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Too many tags (24 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add a description for screenshot #4 in keequotes-graphic-design-online/assets to your readme.txt
- Screenshots: Screenshot #1 (Template Gallery) image not found
keequotes-graphic-design-online/card-design.php 85% from 13 tests
The main PHP file in "Keequotes U-Print – Graphic Design Online" ver. 2.1.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("keequotes-graphic-design-online.php" instead of "card-design.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin173,979 lines of code in 1,879 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 7 | 0 | 0 | 61,884 |
JavaScript | 103 | 6,719 | 13,087 | 46,940 |
YAML | 4 | 0 | 0 | 25,394 |
SVG | 1,687 | 0 | 12 | 16,464 |
CSS | 22 | 3,727 | 73 | 10,903 |
Sass | 29 | 747 | 81 | 6,171 |
LESS | 18 | 504 | 55 | 4,738 |
Markdown | 3 | 885 | 0 | 853 |
PHP | 5 | 32 | 41 | 426 |
TypeScript | 1 | 136 | 674 | 206 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
5 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/backgrounds/gradient_color.png | 18.65KB | 3.83KB | ▼ 79.44% |
assets/images/backgrounds/background_transparent.png | 2.88KB | 0.31KB | ▼ 89.18% |
assets/images/icons/close.png | 0.37KB | 0.25KB | ▼ 33.16% |
assets/images/backgrounds/solid_color.png | 1.28KB | 0.94KB | ▼ 27.02% |
tinymce-custom/design-service.png | 5.98KB | 3.42KB | ▼ 42.83% |