Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.07ms] Passed 4 tests
An overview of server-side resources used by Repeater Entries Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.56 ▼2.18 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.97 ▼0.70 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.41 ▼6.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.31 ▼6.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.36 ▲1.73 |
Repeater Entries Widget /wp-admin/options-general.php?page=repeater-entries-widget-settings | 3.22 | 32.39 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_zwrew_plugin |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Repeater Entries Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲177 | 13.58 ▼0.74 | 5.62 ▲3.84 | 40.40 ▼5.77 |
Dashboard /wp-admin | 2,209 ▲24 | 5.83 ▲0.92 | 107.30 ▼6.67 | 38.17 ▼0.46 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.24 ▲0.25 | 40.02 ▼1.72 | 34.41 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 18.30 ▲0.68 | 607.51 ▼88.23 | 58.45 ▲4.36 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.24 ▲0.09 | 98.06 ▼5.81 | 43.45 ▲2.81 |
Repeater Entries Widget /wp-admin/options-general.php?page=repeater-entries-widget-settings | 974 | 1.76 | 27.58 | 27.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_zwrew_plugin
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 24 tag instead of maximum 10
repeater-entries-widget/repeater-entries-widget.php 92% from 13 tests
"Repeater Entries Widget" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected536 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 45 | 112 | 479 |
JavaScript | 1 | 2 | 0 | 57 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 11.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 8 | |
▷ Global constants | 8 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/deleterow.png | 0.61KB | 0.74KB | 0.00% |
assets/images/deleteimg.png | 0.91KB | 0.69KB | ▼ 23.60% |