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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.10ms] Passed 4 tests
An overview of server-side resources used by Jellyfish Invaders
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.40 ▼2.10 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.51 ▼3.53 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.67 ▼3.06 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.14 ▼23.70 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 35.44 ▲0.77 |
Jellyfish Invaders /wp-admin/themes.php?page=jellyfish-invaders | 3.26 | 30.98 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
jellyfish_invaders_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jellyfish Invaders
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,058 ▲323 | 13.95 ▼0.35 | 22.33 ▲20.54 | 43.12 ▼6.56 |
Dashboard /wp-admin | 2,210 ▲19 | 5.90 ▲1.00 | 105.46 ▲2.77 | 41.91 ▼1.51 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▼0.16 | 40.28 ▼0.55 | 35.82 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,550 ▲36 | 23.31 ▲5.81 | 676.62 ▲42.11 | 52.06 ▲0.43 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.15 ▼0.09 | 97.11 ▲0.91 | 41.05 ▼4.95 |
Jellyfish Invaders /wp-admin/themes.php?page=jellyfish-invaders | 994 | 2.16 | 23.47 | 29.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/themes.php?page=jellyfish-invaders
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=jellyfish-invaders
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/jellyfish-invaders/jellyfish_invaders.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: sci fi, 8bit, visual effect, space invaders, animation...
jellyfish-invaders/jellyfish_invaders.php 92% from 13 tests
Analyzing the main PHP file in "Jellyfish Invaders" version 0.9
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("jellyfish-invaders.php" instead of "jellyfish_invaders.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,377 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 36 | 106 | 972 |
PHP | 2 | 61 | 73 | 381 |
CSS | 1 | 2 | 6 | 24 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 25 | |
▷ Named functions | 25 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/space_invader_small.png | 59.14KB | 3.21KB | ▼ 94.57% |
images/space_invader_large.png | 11.58KB | 4.87KB | ▼ 57.97% |
images/space_invader_medium.png | 5.65KB | 3.20KB | ▼ 43.38% |