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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.85ms] Passed 4 tests
This is a short check of server-side resources used by Attach Font Awesome
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.13 ▲1.75 |
Dashboard /wp-admin | 3.34 ▲0.03 | 43.53 ▼7.42 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.60 ▼5.09 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 99.84 ▼4.65 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.08 ▲3.87 |
Attach Font Awesome /wp-admin/options-general.php?page=atchfa-plugin-options | 3.23 | 34.40 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Attach Font Awesome
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 14.46 ▲0.17 | 1.81 ▲0.16 | 42.58 ▼4.44 |
Dashboard /wp-admin | 2,209 ▲27 | 4.87 ▼0.04 | 111.82 ▲4.53 | 43.21 ▼1.31 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▼0.01 | 39.05 ▼4.68 | 35.55 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,380 ▼153 | 18.78 ▼4.59 | 501.13 ▼115.17 | 48.64 ▲0.10 |
Media Library /wp-admin/upload.php | 1,397 ▲15 | 4.22 ▼0.04 | 97.27 ▼0.67 | 42.21 ▼1.12 |
Attach Font Awesome /wp-admin/options-general.php?page=atchfa-plugin-options | 903 | 2.18 | 33.18 | 27.59 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/attach-font-awesome/attach-font-awesome.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/attach-font-awesome/inc/data.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: icon, icons, font-awesome, font, font icon
attach-font-awesome/attach-font-awesome.php Passed 13 tests
The principal PHP file in "Attach Font Awesome" v. 0.1 is loaded by WordPress automatically on each request
41 characters long description:
add font awesome library to front of site
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
There were no executable files found in this plugin2,897 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 4 | 8 | 46 | 141 |
PO File | 2 | 16 | 17 | 56 |
JavaScript | 1 | 0 | 2 | 28 |
CSS | 1 | 0 | 3 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin