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
Installer ran successfully
Server metrics [RAM: ▼1.23MB] [CPU: ▼43.07ms] Passed 4 tests
This is a short check of server-side resources used by Manager for Galène videoconference
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.72 | 12.23 ▼25.17 |
Dashboard /wp-admin | 2.78 ▼0.53 | 15.37 ▼31.86 |
Posts /wp-admin/edit.php | 2.78 ▼0.58 | 19.44 ▼30.76 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.11 | 17.26 ▼84.49 |
Media Library /wp-admin/upload.php | 2.78 ▼0.45 | 19.07 ▼15.34 |
Server storage [IO: ▲3.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 431 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_galene_settings |
wp_galene_room |
wp_galene_access |
wp_galene_user |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Manager for Galène videoconference
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.32 ▼1.13 | 1.89 ▲0.03 | 41.15 ▼3.16 |
Dashboard /wp-admin | 2,209 ▲21 | 4.84 ▼0.05 | 104.32 ▼2.23 | 39.18 ▼3.96 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.00 | 34.45 ▼6.52 | 33.94 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,542 ▲8 | 18.43 ▼4.60 | 615.82 ▲15.85 | 54.41 ▲3.64 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.00 | 92.91 ▼7.78 | 41.04 ▼2.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/manager-for-galene-videoconference/galene-manager.php+147
Undefined index: galene_action
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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
Even though everything seems fine, this is not 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
Please fix the following
- 175× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\EC\\BaseCurves\\Base' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Prime.php:35
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\OpenSSH' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/OpenSSH.php:27
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\EC\\Curves\\sect163k1' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk163.php:16
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\RSA' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/PrivateKey.php:26
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Base' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/EvalBarrett.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/manager-for-galene-videoconference/includes/class-galmgr-template-registrar.php:152
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Math\\BigInteger\\Engines\\OpenSSL' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/OpenSSL.php:23
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS8' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS8.php:37
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\JWK' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/JWK.php:33
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\et\\SSH2' not found in wp-content/plugins/manager-for-galene-videoconference/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: videoconference, lectures, conferences, meetings
manager-for-galene-videoconference/galene-manager.php 92% from 13 tests
Analyzing the main PHP file in "Manager for Galène videoconference" version 0.5.0
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("manager-for-galene-videoconference.php" instead of "galene-manager.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin133,310 lines of code in 415 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 94,587 |
PHP | 382 | 7,411 | 22,550 | 36,952 |
Twig | 10 | 120 | 0 | 1,054 |
PO File | 1 | 153 | 243 | 345 |
JavaScript | 1 | 59 | 16 | 187 |
CSS | 4 | 28 | 8 | 92 |
SVG | 8 | 0 | 0 | 59 |
XML | 1 | 0 | 0 | 19 |
Markdown | 1 | 3 | 0 | 12 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 670.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 104.00 |
Code structure | ||
---|---|---|
Namespaces | 41 | |
Interfaces | 3 | |
Traits | 4 | |
Classes | 352 | |
▷ Abstract classes | 208 | 59.09% |
▷ Concrete classes | 144 | 40.91% |
▷ Final classes | 25 | 17.36% |
Methods | 1,563 | |
▷ Static methods | 521 | 33.33% |
▷ Public methods | 1,109 | 70.95% |
▷ Protected methods | 219 | 14.01% |
▷ Private methods | 235 | 15.04% |
Functions | 35 | |
▷ Named functions | 2 | 5.71% |
▷ Anonymous functions | 33 | 94.29% |
Constants | 319 | |
▷ Global constants | 12 | 3.76% |
▷ Class constants | 307 | 96.24% |
▷ Public constants | 307 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/videocall-pngrepo-com.png | 12.01KB | 7.96KB | ▼ 33.72% |