Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.28ms] Passed 4 tests
This is a short check of server-side resources used by Bangla Web Fonts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 35.61 ▼7.56 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.82 ▼5.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.31 ▼0.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.78 ▼20.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.51 ▼3.27 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bangla Web Fonts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 13.16 ▼1.27 | 1.60 ▼0.26 | 19.91 ▼27.04 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼0.06 | 103.50 ▼7.04 | 40.04 ▼5.85 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.02 | 41.60 ▲3.96 | 33.62 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.36 ▲4.84 | 643.70 ▼6.75 | 57.79 ▲4.73 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.24 ▲0.15 | 98.07 ▼1.90 | 44.93 ▼0.23 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/bangla-web-fonts/bangla-web-fonts.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: solaimanlipi, bengali, bangla font, bangla, bangla web font
bangla-web-fonts/bangla-web-fonts.php Passed 13 tests
"Bangla Web Fonts" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
25 characters long description:
Enables bangla web fonts.
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
Good job! No executable or dangerous file extensions detected2,794 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,768 |
PHP | 1 | 7 | 12 | 16 |
CSS | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin