Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.39ms] Passed 4 tests
This is a short check of server-side resources used by Easy Profile Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.76 ▼0.81 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.76 ▼9.22 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.70 ▲5.05 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 81.48 ▼12.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.17 ▲1.20 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
easy_profile_widget_installed |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_easy_profile_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Easy Profile Widget: 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,797 ▲51 | 14.70 ▲0.35 | 1.69 ▲0.11 | 44.42 ▲4.15 |
Dashboard /wp-admin | 2,204 ▲24 | 5.67 ▲0.08 | 97.66 ▲10.16 | 41.49 ▲2.01 |
Posts /wp-admin/edit.php | 2,109 ▲12 | 2.00 ▲0.02 | 37.16 ▲1.01 | 33.37 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.16 ▲0.03 | 706.75 ▲46.62 | 55.16 ▲1.35 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.00 | 94.49 ▼7.91 | 40.58 ▼4.50 |
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: 8 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- easy_profile_widget_installed
- widget_recent-posts
- widget_easy_profile_widget
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-profile-widget/core/functions.enqueue.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-profile-widget/core/functions.widget.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/easy-profile-widget/core/functions.notices.php:9
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Center Aligned Profile Widget), #2 (Left Aligned Profile Section), #3 (Avatar Widget Options), #4 (Description Widget Options)
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
easy-profile-widget/plugin.php 92% from 13 tests
"Easy Profile Widget" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-profile-widget.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected507 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 28 | 57 | 292 |
Sass | 2 | 3 | 1 | 112 |
PO File | 1 | 30 | 31 | 91 |
JavaScript | 1 | 1 | 0 | 10 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 9.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin