Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/easy-feature-lists/admin/includes/EFLFeatureList.php+62
Undefined variable: name
Server metrics [RAM: ▼1.81MB] [CPU: ▼187.36ms] Passed 4 tests
A check of server-side resources used by Easy Feature Lists
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.83 ▼0.89 | 5.81 ▼15.68 |
Dashboard /wp-admin | 1.84 ▼1.21 | 5.95 ▼32.79 |
Posts /wp-admin/edit.php | 1.85 ▼1.26 | 6.45 ▼38.62 |
Add New Post /wp-admin/post-new.php | 1.85 ▼3.59 | 5.94 ▼640.93 |
Media Library /wp-admin/upload.php | 1.85 ▼1.16 | 5.43 ▼37.09 |
Feature Lists /wp-admin/edit.php?post_type=feature_list | 1.85 | 5.39 |
Add New Feature List /wp-admin/post-new.php?post_type=feature_list | 1.85 | 5.94 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Feature Lists
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,718 ▲112 | 16.20 ▲0.21 | 7.36 ▼5.59 | 52.24 ▲1.57 |
Dashboard /wp-admin | 3,008 ▲74 | 5.89 ▼0.32 | 142.26 ▼11.44 | 118.28 ▲1.38 |
Posts /wp-admin/edit.php | 2,776 ▲37 | 2.69 ▼0.02 | 66.55 ▲0.73 | 95.18 ▲4.93 |
Add New Post /wp-admin/post-new.php | 1,693 ▲193 | 17.13 ▼1.66 | 370.33 ▼6.75 | 126.39 ▲4.36 |
Media Library /wp-admin/upload.php | 1,841 ▲34 | 5.02 ▼0.01 | 153.46 ▼4.77 | 122.04 ▼1.70 |
Feature Lists /wp-admin/edit.php?post_type=feature_list | 1,430 | 2.62 | 68.57 | 75.71 |
Add New Feature List /wp-admin/post-new.php?post_type=feature_list | 2,092 | 3.32 | 109.82 | 101.82 |
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
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/easy-feature-lists/admin/includes/EFLFeatureList.php+62
Undefined variable: name
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=feature_list
- > Notice in wp-content/plugins/easy-feature-lists/admin/includes/EFLFeatureList.php+62
Undefined variable: name
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=feature_list
- > Notice in wp-content/plugins/easy-feature-lists/admin/includes/EFLFeatureList.php+62
Undefined variable: version
- > GET request to /wp-admin/post-new.php?post_type=feature_list
- > User notice in wp-includes/functions.php+5663
WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-feature-lists/admin/partials/feature-list-metabox.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-feature-lists/admin/partials/post-metabox.php:14
- > 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 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== easy-feature-lists ===
)
easy-feature-lists/easy-feature-lists.php 92% from 13 tests
The principal PHP file in "Easy Feature Lists" v. 1.1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected683 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 155 | 570 | 486 |
JavaScript | 2 | 33 | 0 | 164 |
CSS | 2 | 4 | 0 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 2 | 4.44% |
▷ Public methods | 33 | 73.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 26.67% |
Functions | 1 | |
▷ Named functions | 1 | 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 files were detected