Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method NovocallPlugin::activate() should not be called statically
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.64ms] Passed 4 tests
Analyzing server-side resources used by Novocall - Callback Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.80 ▼4.79 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.19 ▼6.02 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.08 ▲4.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.60 ▼12.76 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.81 ▲1.02 |
Novocall /wp-admin/options-general.php?page=novocall-widget | 3.22 | 32.13 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Novocall - Callback Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.76 ▲0.14 | 1.62 ▼0.11 | 41.95 ▼9.16 |
Dashboard /wp-admin | 2,210 ▲19 | 5.81 ▲0.92 | 97.98 ▼6.76 | 38.65 ▼1.79 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 36.82 ▼0.93 | 34.52 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.23 ▲0.26 | 596.02 ▼37.33 | 60.50 ▼0.02 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.12 ▼0.18 | 99.59 ▼9.00 | 40.67 ▼2.77 |
Novocall /wp-admin/options-general.php?page=novocall-widget | 819 | 2.02 | 23.55 | 26.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method NovocallPlugin::deactivate() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/novocall-callback-widget/display/novocall-widget-admin-page.php:18
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in novocall-callback-widget/assets to your readme.txt
- Tags: Please delete some tags, you are using 27 tag instead of maximum 10
novocall-callback-widget/novocall-widget.php 92% from 13 tests
The principal PHP file in "Novocall - Callback Widget" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("novocall-callback-widget.php" instead of "novocall-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin99 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 34 | 99 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin