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: ▲0.01MB] [CPU: ▼7.90ms] Passed 4 tests
An overview of server-side resources used by Creative FA and BS Icons Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.34 ▼1.66 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.17 ▼8.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.91 ▼2.74 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.55 ▼17.20 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.52 ▼3.44 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Creative FA and BS Icons Shortcode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 13.54 ▼0.85 | 1.63 ▼0.09 | 51.02 ▲1.62 |
Dashboard /wp-admin | 2,223 ▲38 | 4.80 ▼1.05 | 111.28 ▲4.41 | 40.77 ▼6.74 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.03 ▲0.04 | 42.15 ▲2.90 | 36.62 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.26 ▲0.03 | 644.37 ▲7.04 | 57.29 ▼4.17 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.17 ▲0.02 | 126.08 ▲25.17 | 53.80 ▲9.08 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/creative-fa-and-bs-icons-shortcode/creative-fa-and-bs-icons-shortcode.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Screenshot #1 (2.) image required
creative-fa-and-bs-icons-shortcode/creative-fa-and-bs-icons-shortcode.php Passed 13 tests
This is the main PHP file of "Creative FA and BS Icons Shortcode" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
86 characters long description:
This plugin Allows you to add Font-Awesome and Bootstrap Icons Easily using shortcode.
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 detected2,994 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 2,959 |
PHP | 1 | 16 | 12 | 31 |
CSS | 2 | 0 | 8 | 2 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 3 | |
▷ Named functions | 3 | 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
No PNG images were found in this plugin