Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼3.34ms] Passed 4 tests
An overview of server-side resources used by ExS Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 41.33 ▼3.37 |
Dashboard /wp-admin | 3.53 ▲0.19 | 51.99 ▼13.35 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 53.36 ▲0.72 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 95.19 ▲2.88 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 40.36 ▲2.63 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theme-spacer |
widget_recent-comments |
widget_custom-posts |
widget_theysaidso_widget |
widget_theme-category |
Browser metrics Passed 4 tests
ExS Widgets: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.15 ▼1.24 | 1.73 ▼0.26 | 40.28 ▲0.56 |
Dashboard /wp-admin | 2,203 ▲12 | 5.88 ▲0.89 | 100.68 ▼17.36 | 38.07 ▼1.63 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 41.14 ▼0.14 | 36.34 ▼0.99 |
Add New Post /wp-admin/post-new.php | 6,181 ▲4,638 | 19.72 ▲1.35 | 924.30 ▲260.05 | 63.15 ▲12.45 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.04 | 116.60 ▲11.48 | 48.70 ▲5.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_theme-spacer
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_custom-posts
- can_compress_scripts
- db_upgraded
- widget_theme-category
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
2 plugin tags: widgets, widget
exs-widgets/exs-widgets.php Passed 13 tests
The main file in "ExS Widgets" v. 0.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
34 characters long description:
Additional extended custom widgets
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin2,032 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 200 | 258 | 1,775 |
JavaScript | 2 | 5 | 2 | 256 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 28.75 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 7.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected