Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.74ms] Passed 4 tests
A check of server-side resources used by Mobile Only Contact Footer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.30 ▲2.78 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.77 ▼10.08 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 43.42 ▼1.82 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.27 ▼17.69 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 34.11 ▲2.63 |
Mobile Contact Footer Settings /wp-admin/options-general.php?page=mcf-setting-admin | 3.24 | 29.08 |
Server storage [IO: ▲0.87MB] [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: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Mobile Only Contact Footer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲76 | 14.36 ▲0.01 | 1.80 ▲0.23 | 44.53 ▲4.66 |
Dashboard /wp-admin | 2,214 ▲39 | 4.93 ▼0.67 | 85.72 ▼10.64 | 36.67 ▼3.04 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.29 ▲0.31 | 37.11 ▲0.34 | 40.09 ▲6.60 |
Add New Post /wp-admin/post-new.php | 1,550 ▲15 | 23.37 ▲5.26 | 601.54 ▼10.97 | 33.30 ▼40.32 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.29 ▲0.08 | 93.79 ▼13.91 | 41.69 ▼6.17 |
Mobile Contact Footer Settings /wp-admin/options-general.php?page=mcf-setting-admin | 1,128 | 2.58 | 45.91 | 27.33 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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 server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mcf-setting-admin
- > Notice in wp-content/plugins/mobile-only-contact-footer/mobile_contact_footer_admin.php+286
Trying to access array offset on value of type bool
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/mobile-only-contact-footer/mobile_contact_footer_admin.php:332
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/mobile-only-contact-footer/mobile_contact_footer_admin.php:332
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: phone, location, email, social, maps...
mobile-only-contact-footer/mobile_contact_footer.php 92% from 13 tests
The entry point to "Mobile Only Contact Footer" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mobile-only-contact-footer.php" instead of "mobile_contact_footer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin5,392 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 9 | 12 | 1,832 |
Sass | 13 | 26 | 24 | 1,352 |
LESS | 13 | 26 | 33 | 1,343 |
SVG | 1 | 0 | 0 | 565 |
PHP | 2 | 61 | 45 | 296 |
JavaScript | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
There are no PNG files in this plugin