Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼12.24ms] Passed 4 tests
Analyzing server-side resources used by WunderWP - Reusable & Preset Widget Styles and Templates for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.51 ▼0.30 |
Dashboard /wp-admin | 3.35 ▲0.01 | 44.33 ▼17.89 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 43.30 ▼4.80 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 81.19 ▼22.40 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 33.13 ▼3.85 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WunderWP - Reusable & Preset Widget Styles and Templates for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.01 | 1.71 ▼0.18 | 43.14 ▼0.87 |
Dashboard /wp-admin | 2,203 ▲15 | 5.79 ▲0.94 | 97.38 ▼8.53 | 39.55 ▼5.32 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▲0.00 | 34.04 ▼1.36 | 34.93 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.30 ▲5.79 | 668.30 ▲14.53 | 56.42 ▲1.16 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.14 ▼0.08 | 95.77 ▲1.33 | 41.55 ▼4.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
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 | 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/wunderwp/includes/connect/class.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wunderwp/includes/options/class.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: reusable style, premade content, elementor, readymade template, preset
wunderwp/wunderwp.php Passed 13 tests
The primary PHP file in "WunderWP - Reusable & Preset Widget Styles and Templates for Elementor" version 1.6.1 is used by WordPress to initiate all plugin functionality
79 characters long description:
Apply preset styling to Elementor widgets and beautify your content in seconds!
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
Everything looks great! No dangerous files found in this plugin4,526 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 622 | 48 | 1,998 |
PHP | 15 | 535 | 1,240 | 1,718 |
CSS | 12 | 132 | 4 | 810 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 11.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 17 | 13.82% |
▷ Public methods | 99 | 80.49% |
▷ Protected methods | 6 | 4.88% |
▷ Private methods | 18 | 14.63% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/wunderwp_plugin_icon.png | 2.26KB | 1.42KB | ▼ 37.37% |