Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼2.41MB] [CPU: ▼350.85ms] Passed 4 tests
A check of server-side resources used by 3D Wiggle Player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.97 ▼1.55 | 5.00 ▼45.37 |
Dashboard /wp-admin | 1.99 ▼1.43 | 4.63 ▼29.46 |
Posts /wp-admin/edit.php | 1.99 ▼1.66 | 6.32 ▼29.72 |
Add New Post /wp-admin/post-new.php | 1.99 ▼4.99 | 4.15 ▼1,298.86 |
Media Library /wp-admin/upload.php | 1.99 ▼1.32 | 4.43 ▼23.29 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for 3D Wiggle Player
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,798 ▲56 | 16.25 ▲0.62 | 5.82 ▼0.25 | 3.11 ▲0.96 |
Dashboard /wp-admin | 2,899 ▲38 | 6.14 ▼0.06 | 117.30 ▼17.20 | 153.76 ▼5.85 |
Posts /wp-admin/edit.php | 2,698 ▲7 | 3.24 ▲0.01 | 66.15 ▲1.16 | 150.20 ▲4.02 |
Add New Post /wp-admin/post-new.php | 1,714 ▲53 | 21.09 ▲3.93 | 438.51 ▲21.26 | 167.19 ▲12.89 |
Media Library /wp-admin/upload.php | 1,702 ▲4 | 5.50 ▼0.03 | 139.48 ▼16.24 | 190.14 ▼11.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5768
wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the psswiggleplayer handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/3d-wiggle-player/3d-wiggle-player.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: stereo-gram, 3d, image, wiggle, stereoscopy...
3d-wiggle-player/3d-wiggle-player.php 85% from 13 tests
The entry point to "3D Wiggle Player" version 1.1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected884 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 111 | 50 | 471 |
JavaScript | 2 | 50 | 8 | 342 |
CSS | 1 | 12 | 0 | 71 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 18.25 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 7 | 31.82% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 1 | 4.35% |
▷ Class constants | 22 | 95.65% |
▷ Public constants | 22 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin