Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.78ms] Passed 4 tests
Server-side resources used by Video conference
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.04 ▼2.77 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.30 ▼0.83 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.40 ▼5.43 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 97.05 ▼6.07 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.68 ▲2.46 |
Add New MeetingID /wp-admin/post-new.php?post_type=vicon | 3.33 | 42.44 |
All Meetings /wp-admin/edit.php?post_type=vicon | 3.34 | 34.88 |
Server storage [IO: ▲30.19MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- Filesystem usage must be lower than 25MB (currently using 30.19MB)
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Video conference
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.39 ▼0.97 | 8.04 ▲6.55 | 38.78 ▼4.05 |
Dashboard /wp-admin | 2,223 ▲46 | 5.63 ▼0.04 | 93.07 ▲0.86 | 43.23 ▲4.13 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.97 ▼0.01 | 39.07 ▼1.35 | 34.59 ▼4.24 |
Add New Post /wp-admin/post-new.php | 1,553 ▲18 | 23.00 ▲4.67 | 636.38 ▼44.71 | 56.59 ▼10.21 |
Media Library /wp-admin/upload.php | 1,434 ▲31 | 4.16 ▼0.04 | 96.20 ▼16.05 | 44.12 ▼5.55 |
Add New MeetingID /wp-admin/post-new.php?post_type=vicon | 1,478 | 2.56 | 52.35 | 64.28 |
All Meetings /wp-admin/edit.php?post_type=vicon | 1,095 | 1.99 | 33.74 | 32.48 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/video-conference/public/partials/video-conference-public-display.php:76
- > PHP Notice
Trying to get property 'post_name' of non-object in wp-content/plugins/video-conference/public/partials/video-conference-public-display.php on line 16
- > PHP Notice
Trying to get property 'post_name' of non-object in wp-content/plugins/video-conference/public/partials/video-conference-public-display.php on line 66
- > PHP Notice
Trying to get property 'post_status' of non-object in wp-content/plugins/video-conference/public/partials/video-conference-public-display.php on line 46
- > PHP Warning
Use of undefined constant VICON_URL - assumed 'VICON_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/video-conference/public/partials/video-conference-public-display.php on line 54
- > PHP Warning
Use of undefined constant VICON_URL - assumed 'VICON_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/video-conference/public/partials/video-conference-public-display.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/video-conference/public/partials/single-vicon.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== video-conference ===
)
video-conference/video-conference.php Passed 13 tests
Analyzing the main PHP file in "Video conference" version 1.0.2
49 characters long description:
Plugin video conference free on jitsi meet brand.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin371 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 126 | 125 | 338 |
SVG | 1 | 1 | 0 | 26 |
JavaScript | 3 | 5 | 15 | 7 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
16 PNG files occupy 29.13MB with 19.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 4,991.63KB | 1,759.12KB | ▼ 64.76% |
assets/screenshot-3.png | 337.38KB | 83.31KB | ▼ 75.31% |
assets/icon-256x156.png | 31.49KB | 7.20KB | ▼ 77.14% |
assets/screenshot-10.png | 1,856.53KB | 649.10KB | ▼ 65.04% |
assets/banner-1544x500.png | 644.71KB | 294.35KB | ▼ 54.34% |