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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲5.16ms] Passed 4 tests
An overview of server-side resources used by
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 55.12 ▲3.59 |
Dashboard /wp-admin | 3.35 ▲0.04 | 61.46 ▲6.23 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 62.87 ▲6.59 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 125.04 ▲24.91 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 41.85 ▲4.23 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 68 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_feuerball3d |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲174 | 14.70 ▲0.40 | 20.63 ▲18.53 | 56.71 ▲9.30 |
Dashboard /wp-admin | 2,209 ▲21 | 5.82 ▲0.92 | 119.91 ▲6.57 | 85.17 ▲42.49 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.00 ▼0.05 | 49.41 ▲11.30 | 45.22 ▲7.49 |
Add New Post /wp-admin/post-new.php | 1,541 ▲7 | 23.10 ▼0.07 | 728.53 ▲20.86 | 67.70 ▲12.32 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.12 ▼0.21 | 127.15 ▲10.08 | 96.58 ▲46.43 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/feuerball3d-360deg-animations/fb3d-animations.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (The Backend after installing.), #2 (The implementation on a page.), #3 (A working animation.)
feuerball3d-360deg-animations/fb3d-animations.php 92% from 13 tests
The primary PHP file in "" version 1.2.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("feuerball3d-360deg-animations.php" instead of "fb3d-animations.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin876 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 132 | 177 | 516 |
PHP | 1 | 60 | 13 | 184 |
PO File | 2 | 22 | 24 | 89 |
XML | 1 | 8 | 0 | 68 |
JavaScript | 5 | 2 | 44 | 19 |
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.12 |
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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
52 compressed PNG files occupy 0.12MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/custom_navi/ani_pfeil_unten3.png | 1.75KB | 1.80KB | 0.00% |
style/custom_navi/ani_audio_dreieck.png | 0.71KB | 0.81KB | 0.00% |
style/custom_navi/ani_audio_regler.png | 1.13KB | 0.37KB | ▼ 67.79% |
style/custom_navi/ani_hotspot_off2.png | 1.89KB | 1.84KB | ▼ 2.79% |
style/custom_navi/ani_zoom_plus3.png | 1.68KB | 1.80KB | 0.00% |