Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼257.48ms] Passed 4 tests
This is a short check of server-side resources used by WN Webpage Slider for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 40.49 ▲19.89 |
Dashboard /wp-admin | 3.07 ▲0.01 | 50.47 ▲3.35 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.70 ▲2.93 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 93.48 ▼1,027.38 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 32.73 ▼8.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WN Webpage Slider for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,673 ▲92 | 15.90 ▲0.39 | 8.19 ▼0.08 | 51.25 ▲5.14 |
Dashboard /wp-admin | 2,933 ▲80 | 5.87 ▲0.06 | 133.67 ▲2.20 | 100.19 ▲0.35 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▼0.13 | 62.76 ▼5.77 | 94.39 ▲6.11 |
Add New Post /wp-admin/post-new.php | 1,481 ▼0 | 18.52 ▲0.31 | 356.05 ▼3.70 | 98.20 ▼8.81 |
Media Library /wp-admin/upload.php | 1,787 ▲12 | 4.99 ▼0.04 | 148.44 ▼1.25 | 114.64 ▼5.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wn-webpage-slider-for-elementor/assets/elementor-widget/my-widgets.php:32
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wn-webpage-slider-for-elementor/assets/elementor-widget/wn_webpge_slider_elementor.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in wn-webpage-slider-for-elementor/assets to your readme.txt
wn-webpage-slider-for-elementor/wn-webpage-slider-for-elementor.php 92% from 13 tests
Analyzing the main PHP file in "WN Webpage Slider for Elementor" version 1.0
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 378 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin551 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 177 | 40 | 536 |
CSS | 1 | 0 | 0 | 12 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 1.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 11 | 73.33% |
▷ Protected methods | 4 | 26.67% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and 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 |
images/top-bar.png | 0.92KB | 0.77KB | ▼ 16.37% |