Benchmarks
Plugin footprint 65% 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: ▲0.25MB] [CPU: ▼7.70ms] Passed 4 tests
A check of server-side resources used by Jumper - custom contact popup sidebar with floating button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 26.69 ▼12.19 |
Dashboard /wp-admin | 3.59 ▲0.24 | 52.56 ▼11.54 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 46.35 ▼5.67 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 90.67 ▼1.38 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 42.98 ▲4.92 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
combar_fs |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Jumper - custom contact popup sidebar with floating button
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,162 ▲376 | 13.54 ▼0.81 | 18.76 ▲16.83 | 77.71 ▲34.62 |
Dashboard /wp-admin | 2,210 ▲32 | 5.59 ▼0.17 | 85.19 ▼16.72 | 40.29 ▼5.23 |
Posts /wp-admin/edit.php | 2,094 ▼9 | 1.95 ▼0.12 | 36.66 ▼7.04 | 36.38 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.24 ▲0.28 | 676.49 ▲6.37 | 52.56 ▼13.84 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.17 ▼0.00 | 110.39 ▲8.22 | 46.61 ▲2.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/jumper/combar-fs.php+243
Undefined index: uninstall_delete
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- combar_fs
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/jumper/admin/main.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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: popup, sidebar, floating, sticky sidebar, contact...
jumper/combar-fs.php 85% from 13 tests
The principal PHP file in "Jumper - custom contact popup sidebar with floating button" v. 1.1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jumper.php" instead of "combar-fs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,085 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 404 | 167 | 2,540 |
JavaScript | 8 | 403 | 298 | 1,746 |
CSS | 6 | 22 | 33 | 1,655 |
JSON | 1 | 0 | 0 | 86 |
Markdown | 2 | 8 | 0 | 42 |
SVG | 1 | 0 | 1 | 16 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin