Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.91ms] Passed 4 tests
A check of server-side resources used by Perfect Font Awesome Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.22 ▼5.94 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.17 ▼3.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.63 ▼5.68 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.43 ▼24.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 40.52 ▲7.01 |
Server storage [IO: ▲3.88MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Perfect Font Awesome Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.16 ▼1.06 | 1.74 ▼0.20 | 41.42 ▼2.89 |
Dashboard /wp-admin | 2,222 ▲37 | 5.83 ▼0.06 | 99.07 ▼38.76 | 92.85 ▲52.73 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.02 ▲0.03 | 33.08 ▼6.66 | 32.54 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,679 ▲157 | 22.65 ▼0.27 | 679.86 ▼23.35 | 54.86 ▼3.41 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.22 ▼0.01 | 105.22 ▼4.71 | 65.24 ▲21.56 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/perfect-font-awesome-integration/admin/admin-page.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/perfect-font-awesome-integration/perfect-font-awesome-integration.php:13
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Insert the shortcode) image not found
perfect-font-awesome-integration/perfect-font-awesome-integration.php Passed 13 tests
The main PHP script in "Perfect Font Awesome Integration" version 2.2 is automatically included on every request by WordPress
128 characters long description:
Perfectly Integrates latest font awesome icons with your wordpress blog as well as adds an Icon insert button in Classic Editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin17,912 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
CSS | 14 | 3,669 | 60 | 8,099 |
PHP | 2 | 35 | 9 | 172 |
JavaScript | 1 | 0 | 0 | 89 |
PHP code Passed 2 tests
This is a very shot 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.04 |
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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.74MB with 0.37MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wmis.png | 455.49KB | 145.95KB | ▼ 67.96% |
images/favicon.png | 10.09KB | 4.83KB | ▼ 52.14% |
images/logo.png | 3.88KB | 3.28KB | ▼ 15.41% |
images/gmis.png | 286.74KB | 95.15KB | ▼ 66.82% |