Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.44ms] Passed 4 tests
Server-side resources used by Callweb
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.50 ▼0.18 |
Dashboard /wp-admin | 3.34 ▼0.01 | 48.65 ▼13.43 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.08 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.81 ▼1.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.39 ▲3.37 |
Pomoc /wp-admin/admin.php?page=callweb_help_submenu | 3.23 | 33.48 |
Ustawienia /wp-admin/options-general.php?page=callweb_options2 | 3.23 | 35.97 |
Ustawienia /wp-admin/admin.php?page=callweb_options | 3.23 | 33.96 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Callweb
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.21 ▼0.15 | 1.75 ▲0.01 | 40.38 ▼4.69 |
Dashboard /wp-admin | 2,215 ▲44 | 5.52 ▼0.11 | 94.21 ▲4.12 | 72.70 ▲26.59 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.95 ▼0.17 | 34.26 ▼4.11 | 31.95 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 23.20 ▲0.15 | 663.69 ▼10.79 | 161.35 ▲104.65 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.16 ▼0.08 | 109.88 ▲3.20 | 67.28 ▲21.07 |
Pomoc /wp-admin/admin.php?page=callweb_help_submenu | 823 | 2.00 | 28.43 | 29.13 |
Ustawienia /wp-admin/options-general.php?page=callweb_options2 | 849 | 2.14 | 25.55 | 31.57 |
Ustawienia /wp-admin/admin.php?page=callweb_options | 835 | 2.15 | 23.98 | 31.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callweb/inc/functions.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callweb/inc/menu.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callweb/inc/menu.php:13
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
callweb/callweb.php Passed 13 tests
The entry point to "Callweb" version 1.0.0 is a PHP file that has certain tags in its header comment area
56 characters long description:
W łatwy sposób dodaj widget callweb do swojej witryny.
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
Everything looks great! No dangerous files found in this plugin206 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 34 | 10 | 178 |
CSS | 1 | 6 | 0 | 28 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 5.08KB | 0.48KB | ▼ 90.53% |