Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > 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.09MB] [CPU: ▼0.46ms] Passed 4 tests
This is a short check of server-side resources used by IS-theme-companion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.31 ▲0.12 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.62 ▼4.11 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.56 ▲6.83 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 91.02 ▼2.93 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 37.12 ▲5.10 |
Server storage [IO: ▲8.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 312 new files
Database: no new tables, 8 new options
New WordPress options |
---|
nineteen_theme_front_page |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
free_theme_data |
widget_recent-posts |
Browser metrics Passed 4 tests
IS-theme-companion: 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,823 ▲77 | 13.34 ▼1.06 | 2.05 ▲0.47 | 34.80 ▼2.56 |
Dashboard /wp-admin | 2,206 ▲15 | 5.91 ▲1.02 | 97.06 ▼5.43 | 40.11 ▼2.54 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▲0.04 | 39.46 ▲1.94 | 37.68 ▲2.27 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.29 ▼0.04 | 623.47 ▼50.07 | 52.37 ▼14.84 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.02 | 97.67 ▼0.52 | 42.31 ▼2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- free_theme_data
- can_compress_scripts
- widget_theysaidso_widget
- nineteen_theme_front_page
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- 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
Good news, no errors were detected
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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/weblizar-companion/public/inc/nineteen/client-section.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: builder, drag, drop
weblizar-companion/IS-theme-companion.php 85% from 13 tests
Analyzing the main PHP file in "IS-theme-companion" version 1.53
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("weblizar-companion.php" instead of "IS-theme-companion.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected59,353 lines of code in 284 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 248 | 2,471 | 941 | 18,423 |
CSS | 12 | 2,990 | 27 | 17,894 |
JavaScript | 20 | 764 | 245 | 13,342 |
SVG | 3 | 0 | 0 | 9,546 |
PO File | 1 | 66 | 85 | 148 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 5.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 247 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 247 | 100.00% |
▷ Final classes | 1 | 0.40% |
Methods | 363 | |
▷ Static methods | 184 | 50.69% |
▷ Public methods | 360 | 99.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 0.83% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin