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
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/excitel-click-to-call/class-voipApp.php+34
Non-static method VoipApp::get_table_handle() should not be called statically
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.16ms] Passed 4 tests
Analyzing server-side resources used by Excitel - Click to call
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.95 ▲0.07 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.66 ▲0.40 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.01 ▼3.64 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.67 ▼9.46 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.01 ▲0.83 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_excitel_ |
New WordPress options |
---|
myplug_modify_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Excitel - Click to call
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲53 | 14.21 ▼0.19 | 2.18 ▼0.02 | 43.28 ▲1.17 |
Dashboard /wp-admin | 2,231 ▲60 | 5.58 ▲0.05 | 84.29 ▼6.38 | 68.32 ▲23.97 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 1.97 ▼0.04 | 35.63 ▼5.66 | 35.67 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 21.72 ▼1.39 | 759.13 ▲74.51 | 48.51 ▼9.45 |
Media Library /wp-admin/upload.php | 1,445 ▲45 | 4.21 ▲0.11 | 117.53 ▲10.62 | 72.75 ▲28.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/excitel-click-to-call/class-voipApp.php+61
Non-static method VoipApp::get_table_handle() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- 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
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'VoipApp_Abstract' not found in wp-content/plugins/excitel-click-to-call/class-voipApp-admin.php:3
- > PHP Parse error
syntax error, unexpected 'else' (T_ELSE) in wp-content/plugins/excitel-click-to-call/views/admin.php on line 96
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/excitel-click-to-call/excitel-click-to-call.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
excitel-click-to-call/excitel-click-to-call.php 85% from 13 tests
The primary PHP file in "Excitel - Click to call" version 1.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages/")
- Domain Path: The domain path must begin with a forward slash character ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected687 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 67 | 34 | 419 |
PO File | 2 | 48 | 48 | 156 |
CSS | 1 | 14 | 0 | 60 |
SVG | 3 | 0 | 2 | 52 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 5 | 19.23% |
▷ Public methods | 22 | 84.62% |
▷ Protected methods | 1 | 3.85% |
▷ Private methods | 3 | 11.54% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logot_Images/logot_ImgID3.png | 13.61KB | 2.95KB | ▼ 78.30% |
images/logot_Images/logot_ImgID1.png | 1.24KB | 0.75KB | ▼ 39.59% |
images/logot_Images/logot_ImgID2.png | 15.14KB | 3.37KB | ▼ 77.77% |