Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼145.45ms] Passed 4 tests
Server-side resources used by WP 3D MOTION SLIDER
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 38.07 ▲12.61 |
Dashboard /wp-admin | 3.11 ▲0.05 | 53.35 ▲4.99 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 51.67 ▼6.95 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 98.25 ▼574.48 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 33.08 ▼5.36 |
Add New /wp-admin/post-new.php?post_type=wp3dm_images | 3.11 | 52.21 |
All 3D Images /wp-admin/edit.php?post_type=wp3dm_images | 3.09 | 47.21 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
WP 3D MOTION SLIDER: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,775 ▲169 | 16.36 ▲0.72 | 16.97 ▲5.64 | 49.60 ▼5.89 |
Dashboard /wp-admin | 3,010 ▲76 | 5.91 ▼0.12 | 136.06 ▼19.33 | 109.43 ▼11.17 |
Posts /wp-admin/edit.php | 2,776 ▲37 | 2.72 ▲0.01 | 78.67 ▼29.35 | 94.79 ▼44.42 |
Add New Post /wp-admin/post-new.php | 1,709 ▲26 | 18.71 ▲0.56 | 421.78 ▲14.91 | 108.95 ▼4.51 |
Media Library /wp-admin/upload.php | 1,847 ▲40 | 5.02 ▼0.02 | 185.47 ▲22.01 | 120.81 ▼2.74 |
Add New /wp-admin/post-new.php?post_type=wp3dm_images | 2,203 | 4.51 | 110.98 | 86.28 |
Slider Settings /wp-admin/setting.php | 26 | 0.90 | 0.10 | 13.17 |
All 3D Images /wp-admin/edit.php?post_type=wp3dm_images | 1,443 | 2.63 | 67.56 | 81.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 2× 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/wp-3d-motion-slider/wpsliceslider.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-3d-motion-slider/setting.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/setting.php
- > Network (severe)
wp-admin/setting.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Admin list interface showing Slider images and titles.), #2 (Example output.(see documentation).)
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
wp-3d-motion-slider/wpsliceslider.php 92% from 13 tests
"WP 3D MOTION SLIDER" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-3d-motion-slider.php" instead of "wpsliceslider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin917 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 259 | 99 | 522 |
PHP | 2 | 59 | 35 | 219 |
CSS | 2 | 28 | 1 | 176 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 9 | |
▷ Named functions | 9 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 1.03MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 186.48KB | 60.87KB | ▼ 67.36% |
images/shadow.png | 30.08KB | 15.52KB | ▼ 48.41% |
screenshot-2.png | 831.08KB | 296.15KB | ▼ 64.37% |
images/nav.png | 1.69KB | 0.45KB | ▼ 73.12% |
images/options.png | 1.82KB | 0.69KB | ▼ 61.99% |