Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.34ms] Passed 4 tests
An overview of server-side resources used by Simple Font Awesome Icon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.11 ▼0.00 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.32 ▲0.70 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.99 ▼1.13 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 96.13 ▲1.81 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.87 ▲3.30 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Font Awesome Icon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.29 ▼1.27 | 1.52 ▼0.45 | 42.45 ▲1.45 |
Dashboard /wp-admin | 2,217 ▲29 | 4.98 ▼0.86 | 117.72 ▲12.22 | 39.93 ▼2.74 |
Posts /wp-admin/edit.php | 2,103 ▲17 | 2.16 ▲0.16 | 40.89 ▲4.58 | 33.93 ▲1.29 |
Add New Post /wp-admin/post-new.php | 6,305 ▲4,785 | 22.32 ▼1.09 | 847.40 ▲152.03 | 58.39 ▼4.57 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.37 ▲0.19 | 96.67 ▼22.20 | 40.25 ▼6.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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 | 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-font-awesome-icon/simple-font-awesome-icon.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (The Font Awesome Icon Metabox in Post editor.)
- Screenshots: Please describe screenshot #0 in simple-font-awesome-icon/assets to your readme.txt
simple-font-awesome-icon/simple-font-awesome-icon.php Passed 13 tests
Analyzing the main PHP file in "Simple Font Awesome Icon" version 1.0.1
127 characters long description:
Simple Font Awesome Icon plugin will give you the option for adding font awesome icons as a custom field to your post or pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin8,621 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
YAML | 1 | 724 | 0 | 5,845 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 1 | 14 | 11 | 49 |
JavaScript | 2 | 7 | 1 | 37 |
CSS | 2 | 0 | 3 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 5 | |
▷ Named functions | 5 | 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