Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▼1.90ms] Passed 4 tests
A check of server-side resources used by Mobile Contact Bar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.25 ▼3.39 |
Dashboard /wp-admin | 3.96 ▲0.61 | 51.35 ▼10.27 |
Posts /wp-admin/edit.php | 4.01 ▲0.65 | 56.44 ▲7.99 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 100.51 ▼1.94 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 42.88 ▲8.13 |
Mobile Contact Bar /wp-admin/options-general.php?page=mobile-contact-bar | 3.82 | 44.94 |
Server storage [IO: ▲4.51MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 82 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
mobile_contact_bar_version |
widget_theysaidso_widget |
mobile_contact_bar |
can_compress_scripts |
Browser metrics Passed 4 tests
Mobile Contact Bar: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲53 | 13.30 ▼1.08 | 1.68 ▼0.17 | 39.72 ▼4.26 |
Dashboard /wp-admin | 2,216 ▲28 | 4.85 ▼0.04 | 108.66 ▼4.58 | 41.25 ▲0.09 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.03 ▲0.03 | 39.99 ▲0.12 | 34.11 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.11 ▼0.11 | 593.53 ▼89.20 | 56.46 ▼1.00 |
Media Library /wp-admin/upload.php | 1,398 ▲16 | 4.19 ▲0.02 | 94.42 ▼7.40 | 43.39 ▲0.16 |
Mobile Contact Bar /wp-admin/options-general.php?page=mobile-contact-bar | 3,590 | 4.21 | 128.37 | 27.46 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: woocommerce cart, call to action, cta button, icon, social media
mobile-contact-bar/mobile-contact-bar.php Passed 13 tests
"Mobile Contact Bar" version 2.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
92 characters long description:
Allow your visitors to contact you via mobile phones, or access your site's pages instantly.
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
Good job! No executable or dangerous file extensions detected21,449 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 12,314 |
CSS | 6 | 1,564 | 45 | 5,143 |
PHP | 16 | 711 | 647 | 3,106 |
JavaScript | 11 | 178 | 110 | 886 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 23.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 14 | 100.00% |
Methods | 98 | |
▷ Static methods | 98 | 100.00% |
▷ Public methods | 84 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 14.29% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 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
21 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
assets/images/settings/bar/mcb-bottom-fixed-noplaceholder-nospace.png | 6.44KB | 2.93KB | ▼ 54.46% |
assets/images/settings/bar/mcb-bottom-fixed-placeholder-nospace.png | 6.67KB | 3.01KB | ▼ 54.85% |
assets/images/settings/bar/mcb-bottom-fixed-noplaceholder-space.png | 6.46KB | 2.93KB | ▼ 54.67% |
assets/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |