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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.77ms] Passed 4 tests
An overview of server-side resources used by Wpazure Companion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.41 ▼1.42 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.17 ▼8.37 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.23 ▲0.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.14 ▼6.16 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.21 ▲1.14 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Wpazure Companion
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.10 | 1.76 ▼0.32 | 43.76 ▼7.84 |
Dashboard /wp-admin | 2,206 ▲17 | 4.83 ▼1.05 | 112.71 ▲7.63 | 42.48 ▼1.72 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.00 | 39.56 ▲2.33 | 37.05 ▲1.92 |
Add New Post /wp-admin/post-new.php | 1,542 ▲5 | 18.33 ▼5.01 | 606.60 ▲3.54 | 60.88 ▲9.49 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.20 ▼0.01 | 96.60 ▼0.24 | 40.50 ▼0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-companion/inc/finaco/sections/service-section.php:147
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wpazure-companion/wpazure-companion.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-companion/inc/finaco/sections/slider-section.php:129
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpazure-companion/inc/finaco/features/home-section-settings.php:1477
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-companion/inc/finaco/sections/cta-section.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-companion/inc/finaco/sections/testimonial-section.php:168
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-companion/inc/finaco/sections/project-section.php:141
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-companion/inc/finaco/sections/news-section.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpazure-companion/inc/finaco/features/news-section.php:68
- > 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)
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
3 plugin tags: widgets, widget, admin
wpazure-companion/wpazure-companion.php 92% from 13 tests
The primary PHP file in "Wpazure Companion" version 0.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.5" instead of "3.3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,761 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 575 | 233 | 2,481 |
JavaScript | 1 | 58 | 63 | 173 |
CSS | 1 | 17 | 3 | 107 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 72 | |
▷ Named functions | 72 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/finaco/images/slider/slide-dot.png | 0.10KB | 0.10KB | 0.00% |
inc/customizer/lib/class-alpha-color-control/css/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |