Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼36.72ms] Passed 4 tests
An overview of server-side resources used by Aria Font
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.75 ▲5.80 |
Dashboard /wp-admin | 3.00 ▼0.30 | 24.50 ▼27.16 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 23.76 ▼26.25 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 25.06 ▼79.13 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 23.52 ▼14.33 |
فونت پوسته /wp-admin/admin.php?page=ariafont-settings | 3.00 | 23.44 |
پشتیبانی /wp-admin/admin.php?page=ariafont-about | 3.00 | 24.80 |
Server storage [IO: ▲8.83MB] [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: 192 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Aria Font
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.19 ▼1.20 | 4.51 ▲2.78 | 40.02 ▼0.54 |
Dashboard /wp-admin | 2,230 ▲42 | 5.75 ▲0.91 | 94.91 ▼9.20 | 44.62 ▲1.95 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.05 ▲0.01 | 39.19 ▼2.93 | 41.80 ▲5.65 |
Add New Post /wp-admin/post-new.php | 1,550 ▲36 | 18.46 ▲0.83 | 647.17 ▼7.13 | 55.57 ▲0.13 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.22 ▲0.04 | 109.00 ▼12.18 | 51.58 ▲3.88 |
فونت پوسته /wp-admin/admin.php?page=ariafont-settings | 1,058 | 2.06 | 25.58 | 60.98 |
پشتیبانی /wp-admin/admin.php?page=ariafont-about | 874 | 2.02 | 22.60 | 40.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ariafont-about
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=ariafont-settings
- > Notice in wp-content/plugins/aria-font/inc/font-setting.php+6
Undefined index: settings-updated
- 43 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ariafont-settings
- > Notice in wp-content/plugins/aria-font/inc/font-setting.php+66
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=ariafont-about
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- > GET request to /wp-admin/admin.php?page=ariafont-about
- > Warning in wp-content/plugins/aria-font/inc/feedback.php+16
session_start(): Cannot start session when headers already sent
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
aria-font/aria-font.php Passed 13 tests
The main PHP script in "Aria Font" version 1.2 is automatically included on every request by WordPress
27 characters long description:
Change WordPress Theme Font
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
Success! There were no dangerous files found in this plugin1,256 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 643 |
CSS | 44 | 88 | 172 | 428 |
PHP | 4 | 33 | 14 | 185 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
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 | 6 | |
▷ Named functions | 6 | 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
No PNG images were found in this plugin