Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.61ms] Passed 4 tests
Analyzing server-side resources used by WIDGETS VIEW CUSTOM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.33 ▼5.92 |
Dashboard /wp-admin | 3.35 ▲0.04 | 49.59 ▼6.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.85 ▼2.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.32 ▼19.83 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.70 ▲1.02 |
Widgets view custom /wp-admin/options-general.php?page=widgets_view_custom | 3.24 | 31.94 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WIDGETS VIEW CUSTOM
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.45 ▲0.07 | 1.74 ▼0.14 | 43.08 ▼0.14 |
Dashboard /wp-admin | 2,213 ▲28 | 5.88 ▲0.02 | 100.36 ▲1.05 | 42.10 ▼3.37 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 35.60 ▼5.61 | 31.66 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.32 ▲0.08 | 629.81 ▼2.01 | 50.53 ▲0.56 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.15 ▼0.12 | 95.70 ▼2.15 | 43.01 ▲2.13 |
Widgets view custom /wp-admin/options-general.php?page=widgets_view_custom | 1,203 | 2.12 | 33.33 | 24.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- 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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/widgets-view-custom/widgets-view-custom.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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 your attention:
- Screenshots: These screenshots do not have images: #1 (Interface in setting), #2 (While setting), #3 (Screen widget)
widgets-view-custom/widgets-view-custom.php 92% from 13 tests
Analyzing the main PHP file in "WIDGETS VIEW CUSTOM" version 1.1.2
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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 plugin355 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 33 | 233 |
PO File | 1 | 25 | 0 | 62 |
CSS | 1 | 5 | 0 | 43 |
JavaScript | 1 | 4 | 1 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
3 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 45.42KB | 17.58KB | ▼ 61.30% |
screenshot-2.png | 42.46KB | 16.50KB | ▼ 61.14% |
screenshot-3.png | 58.85KB | 22.25KB | ▼ 62.20% |