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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.55ms] Passed 4 tests
An overview of server-side resources used by Rocket Font
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.87 ▲0.11 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.23 ▼1.58 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 46.02 ▼1.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.45 ▼17.29 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.35 ▼2.26 |
로켓 폰트 /wp-admin/options-general.php?page=rocket-font-setting | 3.20 | 30.73 |
Server storage [IO: ▲0.20MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
rocket_font |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Rocket Font
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲115 | 13.26 ▼1.14 | 1.70 ▼0.20 | 43.03 ▼3.37 |
Dashboard /wp-admin | 2,256 ▲67 | 5.04 ▲0.08 | 107.81 ▼17.51 | 47.15 ▲4.52 |
Posts /wp-admin/edit.php | 2,142 ▲53 | 2.33 ▲0.33 | 48.34 ▲9.16 | 42.42 ▲10.20 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.07 ▼0.42 | 679.63 ▲0.39 | 60.40 ▲7.16 |
Media Library /wp-admin/upload.php | 1,435 ▲50 | 4.33 ▲0.12 | 105.65 ▲2.67 | 48.49 ▲3.27 |
로켓 폰트 /wp-admin/options-general.php?page=rocket-font-setting | 2,844 | 3.89 | 140.98 | 173.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% 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
- Zombie WordPress options detected upon uninstall: 7 options
- rocket_font
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rocket-font-setting
- > Notice in wp-content/plugins/rocket-font/features/admin/setting.php+126
Undefined index:
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rocket-font-setting
- > Notice in wp-content/plugins/rocket-font/assets/templates/admin/setting.php+53
Trying to access array offset on value of type null
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/rocket-font/assets/templates/admin/setting.php
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: font_family_list in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 89
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 96
- > PHP Fatal error
Uncaught Error: Call to undefined function rocket_font\\plugin_dir_path() in wp-content/plugins/rocket-font/rocket-font.php:15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 53
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 53
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/rocket-font/assets/templates/admin/tinymce-rocketfont-dynamic-css.php on line 3
- > PHP Notice
Undefined variable: font_list in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 27
- > PHP Notice
Undefined variable: options in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 53
- > PHP Notice
Undefined variable: options in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 186
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/rocket-font/assets/templates/admin/setting.php on line 89
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: A description for screenshot #3 is missing in rocket-font/assets to your readme.txt
rocket-font/rocket-font.php 69% from 13 tests
The principal PHP file in "Rocket Font" v. 1.2.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 207 characters long)
- Domain Path: The domain path must begin with a forward slash character ("/languages/")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages/")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,157 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 203 | 129 | 911 |
JavaScript | 7 | 160 | 166 | 692 |
CSS | 11 | 45 | 102 | 554 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 20 | 37.74% |
▷ Public methods | 52 | 98.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.89% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/tag-editor/delete.png | 0.24KB | 0.22KB | ▼ 9.20% |