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
You still need to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/radinapp/radinapplight.php+24
require_once(wp-content/plugins/radinapplight/vendor/autoload.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.32ms] Passed 4 tests
An overview of server-side resources used by Radin app
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.32 ▲1.71 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.76 ▼18.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.55 ▼2.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.58 ▼7.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.94 ▼1.72 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Radin app: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.25 ▼0.11 | 1.92 ▲0.07 | 41.30 ▲2.05 |
Dashboard /wp-admin | 2,189 ▲9 | 5.55 ▼0.08 | 82.33 ▼7.30 | 41.36 ▲0.05 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 35.33 ▲0.60 | 33.47 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.10 ▼0.21 | 642.29 ▼29.75 | 55.44 ▼1.46 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.01 | 93.73 ▼0.88 | 39.76 ▼0.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 26× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/RelatedProductControllerRadinapp.php:11
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/OrderControllerRadinapp.php:21
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/HomeControllerRadinapp.php:16
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/CountryStateControllerRadinapp.php:10
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/BillingControllerRadinapp.php:17
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/DownloadsControllerRadinapp.php:24
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/ForgetPasswordControllerRadinapp.php:10
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/CategoryControllerRadinapp.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/radinapp/admin/Loadjs.php:16
- > PHP Fatal error
Uncaught Error: Class 'digiappsaz\\API\\BaseController_Radinapp' not found in wp-content/plugins/radinapp/includes/API/Controller/ReviewControllerRadinapp.php:11
- > PHP Fatal error
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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: application android, comments, application woocommerce
radinapp/radinapplight.php 77% from 13 tests
The main PHP file in "Radin app" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.1" instead of "3.3")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("radinapp.php" instead of "radinapplight.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin10,311 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 700 | 327 | 4,611 |
JavaScript | 6 | 983 | 556 | 4,374 |
CSS | 2 | 148 | 23 | 798 |
PO File | 2 | 132 | 130 | 281 |
Markdown | 1 | 32 | 0 | 168 |
JSON | 2 | 0 | 0 | 79 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 138 | |
▷ Static methods | 14 | 10.14% |
▷ Public methods | 132 | 95.65% |
▷ Protected methods | 2 | 1.45% |
▷ Private methods | 4 | 2.90% |
Functions | 37 | |
▷ Named functions | 36 | 97.30% |
▷ Anonymous functions | 1 | 2.70% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/remove.png | 4.54KB | 2.52KB | ▼ 44.45% |
img/edit.png | 4.41KB | 2.67KB | ▼ 39.41% |
img/app.png | 10.69KB | 8.81KB | ▼ 17.62% |
img/digiappsaz.png | 0.46KB | 0.55KB | 0.00% |
img/logo_search.png | 23.27KB | 9.55KB | ▼ 58.98% |