Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.25ms] Passed 4 tests
Analyzing server-side resources used by Arile Extra
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 28.08 ▼14.45 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.44 ▼1.11 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 44.06 ▼1.71 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.42 ▼7.72 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.94 ▼0.79 |
Server storage [IO: ▲16.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 241 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
fresh_site_activate |
Browser metrics Passed 4 tests
Arile Extra: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,735 ▼27 | 14.19 ▼0.19 | 1.78 ▲0.08 | 8.00 ▼35.85 |
Dashboard /wp-admin | 2,189 ▲12 | 5.63 ▼0.04 | 89.27 ▼9.83 | 39.68 ▼6.93 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.94 ▼0.00 | 40.10 ▼5.87 | 36.54 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.30 ▲0.40 | 733.31 ▲9.34 | 68.68 ▲14.28 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.03 | 99.79 ▼15.50 | 41.44 ▼6.77 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- fresh_site_activate
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 62× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arile-extra/inc/consultstreet/customizer/customizer-page-editor/customizer-page-editor.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php:37
- > PHP Notice
Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-arvada-consultstreet-service.php:2
- > PHP Notice
Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 19
- > PHP Notice
Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-project.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-top-header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-brightpress-testimonial.php:2
- > PHP Notice
Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 25
- > PHP Notice
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)
No browser issues were found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
arile-extra/arile-extra.php Passed 13 tests
The main PHP script in "Arile Extra" version 6.2 is automatically included on every request by WordPress
62 characters long description:
Arile Extra Enhances ThemeArile with additional functionality.
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
Good job! No executable or dangerous file extensions detected9,255 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 61 | 966 | 436 | 9,111 |
JavaScript | 2 | 32 | 48 | 121 |
CSS | 1 | 7 | 2 | 23 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 1.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.76MB with 0.55MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/consultstreet/images/about-img-1.png | 773.39KB | 214.66KB | ▼ 72.24% |