Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼0.89ms] Passed 4 tests
A check of server-side resources used by Exceltheme Addon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 45.74 ▲6.30 |
Dashboard /wp-admin | 3.61 ▲0.31 | 54.15 ▲2.35 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 57.66 ▼0.04 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 90.41 ▼12.19 |
Media Library /wp-admin/upload.php | 3.47 ▲0.25 | 49.59 ▲7.76 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_excel_addon_recent_post |
can_compress_scripts |
widget_excel_addon_featured_post |
widget_recent-posts |
theysaidso_admin_options |
widget_excel_addon_popular_post |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Exceltheme Addon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.40 ▼0.84 | 7.64 ▲5.95 | 43.19 ▼4.00 |
Dashboard /wp-admin | 2,204 ▲24 | 5.63 ▲0.02 | 93.17 ▲5.77 | 42.66 ▼4.45 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.15 ▲0.12 | 39.56 ▼0.41 | 35.64 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.54 ▲0.22 | 682.58 ▼8.33 | 63.30 ▲2.57 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.02 | 98.61 ▼12.77 | 43.84 ▼6.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- theysaidso_admin_options
- widget_excel_addon_featured_post
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_excel_addon_recent_post
- widget_excel_addon_popular_post
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/exceltheme-addon/public/partials/excel-addon-public-display.php
- > /wp-content/plugins/exceltheme-addon/admin/partials/excel-addon-admin-display.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/exceltheme-addon/includes/widgets/class-icon-text.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/exceltheme-addon/includes/widgets/class-recent-post.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/exceltheme-addon/includes/widgets/class-featured-post.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/exceltheme-addon/includes/widgets/class-popular-post.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Contributors: Plugin contributors field is missing
exceltheme-addon/excel-addon.php 77% from 13 tests
The entry point to "Exceltheme Addon" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- 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
- Description: Keep the plugin description shorter than 140 characters (currently 141 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("exceltheme-addon.php" instead of "excel-addon.php")
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
No dangerous file extensions were detected6,761 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 12 | 29 | 2,407 |
PHP | 21 | 233 | 815 | 1,625 |
JavaScript | 2 | 14 | 64 | 58 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 46 | 85.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 14.81% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |