Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.29ms] Passed 4 tests
An overview of server-side resources used by amazing neo icon font for elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.90 ▼5.31 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.37 ▼6.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.59 ▼4.44 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.55 ▼8.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.70 ▲3.33 |
Server storage [IO: ▲6.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for amazing neo icon font for elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲61 | 13.22 ▼1.15 | 1.56 ▼0.54 | 39.92 ▼2.22 |
Dashboard /wp-admin | 2,221 ▲36 | 5.83 ▼0.07 | 98.74 ▼1.14 | 40.05 ▼10.54 |
Posts /wp-admin/edit.php | 2,106 ▲35 | 2.01 ▼0.01 | 37.64 ▼0.66 | 34.90 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 18.60 ▲0.90 | 619.67 ▼42.21 | 75.42 ▲18.90 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.22 ▲0.02 | 98.27 ▲0.19 | 47.21 ▲4.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementoramazing\\add_action() in wp-content/plugins/amazing-neo-icon-font-for-elementor/plugin.php:101
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% 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
9 plugin tags: icon font, amazing neo icon, amazing, icon, elementor widgets...
amazing-neo-icon-font-for-elementor/amazing-neo-for-elementor.php 77% from 13 tests
"amazing neo icon font for elementor" version 2.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("amazing-neo-icon-font-for-elementor.php" instead of "amazing-neo-for-elementor.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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 plugin9,607 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 5,226 |
PHP | 8 | 242 | 540 | 4,312 |
CSS | 3 | 13 | 29 | 63 |
JavaScript | 1 | 2 | 3 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 47 | |
▷ Static methods | 1 | 2.13% |
▷ Public methods | 31 | 65.96% |
▷ Protected methods | 12 | 25.53% |
▷ Private methods | 4 | 8.51% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includs/amazing-neo-logo.png | 6.71KB | 4.23KB | ▼ 36.90% |
includs/old amazing-neo-logo.png.png | 3.91KB | 2.33KB | ▼ 40.41% |
includs/amazing-logo-16.png | 0.36KB | 0.26KB | ▼ 28.42% |