Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/hangul-font-nanumgothic-google/class/ex_hf_class.php+70
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.82MB] [CPU: ▼185.09ms] Passed 4 tests
Server-side resources used by Hangul font nanumgothic - google
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.80 ▼1.03 | 6.31 ▼27.88 |
Dashboard /wp-admin | 1.82 ▼1.23 | 5.61 ▼36.56 |
Posts /wp-admin/edit.php | 1.82 ▼1.28 | 5.92 ▼37.56 |
Add New Post /wp-admin/post-new.php | 1.82 ▼3.61 | 6.39 ▼638.23 |
Media Library /wp-admin/upload.php | 1.82 ▼1.18 | 6.02 ▼28.00 |
Server storage [IO: ▲0.02MB] [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: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Hangul font nanumgothic - google
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,698 ▲102 | 15.83 ▲0.30 | 9.76 ▼0.10 | 48.41 ▲3.69 |
Dashboard /wp-admin | 2,982 ▲48 | 5.92 ▲0.00 | 134.76 ▼8.75 | 150.41 ▲35.35 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.72 ▲0.01 | 61.22 ▼1.90 | 92.70 ▲3.85 |
Add New Post /wp-admin/post-new.php | 1,628 ▲13 | 21.91 ▲0.47 | 271.98 ▲1.28 | 112.66 ▲4.15 |
Media Library /wp-admin/upload.php | 1,764 ▼43 | 5.00 ▼0.04 | 125.66 ▼21.73 | 146.90 ▲19.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/hangul-font-nanumgothic-google/class/ex_hf_class.php+70
Trying to access array offset on value of type bool
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hangul-font-nanumgothic-google/include/admin_page.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hangul-font-nanumgothic-google/include/message.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hangul-font-nanumgothic-google/include/error_message.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: google, nanumgothic font, google webfont loader, naver nanumgothic, webfont...
hangul-font-nanumgothic-google/index.php 92% from 13 tests
The main file in "Hangul font nanumgothic - google" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("hangul-font-nanumgothic-google.php" instead of "index.php")
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
There were no executable files found in this plugin312 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 46 | 25 | 303 |
JavaScript | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 2 | 50.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hangul.png | 1.14KB | 0.28KB | ▼ 75.81% |