Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.62ms] Passed 4 tests
Server-side resources used by Free WooCommerce Theme 99fy Extension
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 33.71 ▼1.58 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.44 ▲0.79 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.56 ▲0.72 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 80.01 ▼26.39 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 35.03 ▲3.22 |
Server storage [IO: ▲47.73MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- The filesystem usage should be lower than 25MB (currently using 47.73MB)
Filesystem: 190 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
nnfy_breadcrumb_status |
nnfy_do_activation_redirect |
widget_theysaidso_widget |
nnfy_page_title_status |
widget_recent-posts |
theysaidso_admin_options |
nnfy_footer_copyright_status |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Free WooCommerce Theme 99fy Extension
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 13.58 ▼0.84 | 4.81 ▲3.19 | 39.70 ▼0.32 |
Dashboard /wp-admin | 2,224 ▲33 | 4.90 ▲0.02 | 111.72 ▲12.20 | 45.18 ▲3.65 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.06 ▲0.06 | 34.54 ▼2.29 | 36.15 ▲4.33 |
Add New Post /wp-admin/post-new.php | 1,546 ▲11 | 23.29 ▲0.20 | 662.59 ▼12.89 | 49.71 ▲4.53 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.23 ▼0.01 | 97.96 ▼3.28 | 40.64 ▼5.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- nnfy_do_activation_redirect
- theysaidso_admin_options
- widget_recent-comments
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 | 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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/99fy-core/includes/demo_importer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/99fy-core/admin/classes/templates_list.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: woocommerce, elementor page builder, one click demo, elementor, elementor addon
99fy-core/nnfy_core.php 77% from 13 tests
The principal PHP file in "Free WooCommerce Theme 99fy Extension" v. 1.2.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("99fy-core.php" instead of "nnfy_core.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
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
Success! There were no dangerous files found in this plugin408,560 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 25 | 1,912 | 10,575 | 393,641 |
PHP | 28 | 1,115 | 649 | 6,720 |
SVG | 2 | 0 | 0 | 2,690 |
JSON | 1 | 208 | 0 | 2,301 |
CSS | 11 | 205 | 86 | 1,989 |
JavaScript | 13 | 256 | 260 | 1,200 |
YAML | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 17.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 180 | |
▷ Static methods | 18 | 10.00% |
▷ Public methods | 157 | 87.22% |
▷ Protected methods | 17 | 9.44% |
▷ Private methods | 6 | 3.33% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
18 PNG files occupy 0.21MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/extensions/whols-pro.png | 15.30KB | 7.40KB | ▼ 51.65% |
admin/assets/images/extensions/swatchly-pro.png | 13.99KB | 5.41KB | ▼ 61.37% |
(invalid) admin/assets/images/extensions/ht-google-place-review.png | 2.64KB | 0.00KB | ▼ 100.00% |
(invalid) admin/assets/images/extensions/docus-pro.png | 3.98KB | 0.00KB | ▼ 100.00% |
admin/assets/images/extensions/hashbar-pro.png | 3.15KB | 3.30KB | 0.00% |