Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.09ms] Passed 4 tests
Server-side resources used by Taamul - WordPress Feedback Modal Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 271.52 ▲230.35 |
Dashboard /wp-admin | 3.47 ▲0.17 | 51.45 ▼0.52 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 53.50 ▲1.92 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 86.82 ▼5.16 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.54 ▲8.11 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 108 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_taamul |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
taamul_notification_setting |
db_upgraded |
widget_recent-posts |
taamul_appearance_style |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Taamul - WordPress Feedback Modal Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,214 ▲1,468 | 13.95 ▼0.36 | 19.17 ▲16.83 | 73.96 ▲31.35 |
Dashboard /wp-admin | 2,266 ▲78 | 4.85 ▼1.03 | 100.04 ▼7.91 | 39.47 ▼3.26 |
Posts /wp-admin/edit.php | 2,146 ▲60 | 2.07 ▲0.04 | 39.19 ▲2.92 | 34.66 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,565 ▲184 | 23.25 ▲4.24 | 692.09 ▲145.40 | 56.55 ▲5.46 |
Media Library /wp-admin/upload.php | 1,443 ▲52 | 4.23 ▲0.03 | 102.54 ▼1.61 | 47.06 ▲4.53 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_taamul
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- taamul_notification_setting
- taamul_appearance_style
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/taamul/public/partials/taamul-public-display.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/taamul/includes/taamul_list_table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/taamul/admin/partials/taamul-support.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/taamul/admin/includes/taamul-list-table.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/taamul/includes/taamul_list_table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/taamul/admin/partials/taamul-admin-display.php:15
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/taamul/admin/includes/taamul-list-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/taamul/public/partials/view_feedback.php:16
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/taamul/admin/includes/taamul-list-table.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/taamul/includes/taamul_list_table.php on line 3
- > PHP Warning
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 errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
taamul/taamul.php Passed 13 tests
"Taamul - WordPress Feedback Modal Plugin" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
The simplest way to collect user feedback, right on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin7,412 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 170 | 88 | 2,725 |
PHP | 25 | 342 | 710 | 2,042 |
SVG | 39 | 0 | 1 | 1,815 |
JavaScript | 5 | 322 | 590 | 830 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 16.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 2 | 2.90% |
▷ Public methods | 64 | 92.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.25% |
Functions | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.37MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/taamul-logo.png | 100.74KB | 53.53KB | ▼ 46.87% |
admin/img/dashboard/Nocountry.png | 35.19KB | 14.39KB | ▼ 59.09% |
admin/img/dashboard/no-feedback.png | 43.51KB | 25.72KB | ▼ 40.88% |
public/partials/img/05.png | 27.79KB | 12.13KB | ▼ 56.35% |
admin/img/svg/Nocountry.png | 35.19KB | 14.39KB | ▼ 59.09% |