Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.03ms] Passed 4 tests
This is a short check of server-side resources used by vdSlider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.00 ▼0.14 |
Dashboard /wp-admin | 3.33 ▼0.01 | 46.28 ▼13.27 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.08 ▲3.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.42 ▼8.06 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.68 ▲1.36 |
vdSlider /wp-admin/edit.php?post_type=vds_images | 3.30 | 33.82 |
Add New /wp-admin/post-new.php?post_type=vds_images | 3.31 | 45.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for vdSlider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲185 | 13.37 ▼1.19 | 7.63 ▲6.19 | 38.19 ▲2.33 |
Dashboard /wp-admin | 2,219 ▲41 | 5.50 ▼0.20 | 86.31 ▼25.20 | 40.04 ▼6.07 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▼0.05 | 36.33 ▲3.53 | 31.67 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 18.22 ▼4.89 | 618.28 ▼26.92 | 60.61 ▲6.55 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.29 ▲0.06 | 99.72 ▼4.97 | 43.14 ▲0.97 |
vdSlider /wp-admin/edit.php?post_type=vds_images | 1,088 | 1.93 | 30.69 | 28.77 |
Add New /wp-admin/post-new.php?post_type=vds_images | 1,633 | 3.96 | 59.71 | 37.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vdslider/vdSlider.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: simple slider, jquery slider, nivo slider
vdslider/vdSlider.php 92% from 13 tests
Analyzing the main PHP file in "vdSlider" version 1.0
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("vdslider.php" instead of "vdSlider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,047 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 75 | 65 | 525 |
CSS | 5 | 23 | 50 | 472 |
PHP | 1 | 9 | 17 | 50 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
nivo-slider/themes/default/bullets.png | 1.25KB | 1.08KB | ▼ 13.74% |
nivo-slider/themes/dark/arrows.png | 3.02KB | 0.38KB | ▼ 87.27% |
nivo-slider/themes/light/arrows.png | 3.17KB | 0.52KB | ▼ 83.49% |
nivo-slider/themes/default/arrows.png | 0.80KB | 0.51KB | ▼ 36.53% |
nivo-slider/themes/light/bullets.png | 3.21KB | 0.54KB | ▼ 83.24% |