Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.09ms] Passed 4 tests
An overview of server-side resources used by Ed's Font Awesome
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.98 ▼0.58 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.47 ▲5.10 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.35 ▼3.73 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.85 ▼10.97 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.96 ▲2.91 |
Plugin Options /wp-admin/admin.php?page=efa_options_admin_page | 3.25 | 31.67 |
Dashboard /wp-admin/admin.php?page=efa_dashboard_admin_page | 3.26 | 32.55 |
Server storage [IO: ▲12.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Ed's Font Awesome: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲107 | 17.20 ▲2.90 | 7.43 ▲5.63 | 29.41 ▼15.79 |
Dashboard /wp-admin | 2,244 ▲62 | 7.41 ▲2.50 | 119.09 ▲11.60 | 52.49 ▲5.32 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 4.12 ▲2.11 | 47.99 ▲6.71 | 44.38 ▲7.48 |
Add New Post /wp-admin/post-new.php | 6,471 ▲4,938 | 26.23 ▲2.73 | 921.29 ▲332.40 | 45.17 ▼5.52 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 6.75 ▲2.52 | 121.17 ▲18.62 | 52.70 ▲8.66 |
Plugin Options /wp-admin/admin.php?page=efa_options_admin_page | 1,024 | 4.17 | 43.29 | 50.08 |
Dashboard /wp-admin/admin.php?page=efa_dashboard_admin_page | 1,249 | 4.46 | 42.26 | 78.81 |
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
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eds-font-awesome/eds_font_awesome.php:63
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=efa_dashboard_admin_page
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:11743 Uncaught Error: Syntax error, unrecognized expression: body[class*= post-type-efa_"]
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: eds font awesome plugin, font awesome mask, free icons, icons, font awesome icons...
eds-font-awesome/eds_font_awesome.php 85% from 13 tests
The entry point to "Ed's Font Awesome" version 1.0.5 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 179 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("eds-font-awesome.php" instead of "eds_font_awesome.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected53,908 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 6,582 | 110 | 33,485 |
JavaScript | 23 | 3,958 | 2,402 | 20,120 |
PHP | 1 | 190 | 115 | 303 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected