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
Installer ran successfully
Server metrics [RAM: ▲2.56MB] [CPU: ▲2.61ms] Passed 4 tests
A check of server-side resources used by Icon Fonts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.52 ▼3.07 |
Dashboard /wp-admin | 6.78 ▲3.48 | 57.81 ▲6.26 |
Posts /wp-admin/edit.php | 6.91 ▲3.55 | 52.40 ▲5.25 |
Add New Post /wp-admin/post-new.php | 9.07 ▲3.19 | 88.29 ▲2.01 |
Media Library /wp-admin/upload.php | 6.84 ▲3.62 | 41.12 ▲10.73 |
Icon Fonts /wp-admin/options-general.php?page=icon-fonts | 6.75 | 35.36 |
Server storage [IO: ▲8.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 148 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Icon Fonts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 14.46 ▼0.14 | 2.03 ▼0.01 | 42.94 ▼2.56 |
Dashboard /wp-admin | 2,216 ▲28 | 4.89 ▼1.08 | 114.89 ▼1.64 | 43.58 ▲0.46 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.04 ▲0.03 | 36.99 ▲1.65 | 31.06 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 23.50 ▲0.13 | 728.47 ▲97.95 | 67.28 ▲19.17 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.23 ▼0.02 | 94.20 ▼11.04 | 39.70 ▼2.64 |
Icon Fonts /wp-admin/options-general.php?page=icon-fonts | 1,224 | 2.54 | 39.42 | 30.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/icon-fonts/icon-fonts.php:28
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: font, webfont, icon font, foundation, icon...
icon-fonts/icon-fonts.php 92% from 13 tests
The entry point to "Icon Fonts" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 288 characters long)
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
No dangerous file extensions were detected33,847 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 45 | 3,524 | 139 | 17,764 |
SVG | 16 | 3 | 12 | 15,461 |
PHP | 7 | 58 | 137 | 552 |
JavaScript | 2 | 10 | 15 | 69 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of 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.38 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin