Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.21ms] Passed 4 tests
Analyzing server-side resources used by Webcam Gallery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.48 ▼6.77 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.73 ▼2.41 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.74 ▼3.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.05 ▼12.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.95 ▲0.82 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Webcam Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲68 | 13.69 ▼0.94 | 1.61 ▼0.28 | 39.19 ▼4.62 |
Dashboard /wp-admin | 2,209 ▲18 | 4.90 ▼0.13 | 98.47 ▼5.81 | 40.85 ▼1.60 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.01 | 32.87 ▼4.90 | 36.42 ▲3.81 |
Add New Post /wp-admin/post-new.php | 6,249 ▲4,730 | 19.55 ▼3.60 | 900.42 ▲220.47 | 67.96 ▲9.97 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.30 ▲0.12 | 98.86 ▼2.08 | 41.82 ▼1.34 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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 | 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webcam-gallery/webcam-gallery.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Gutenberg Editor with block), #2 (Images In Modal), #3 (Gallery 1), #4 (Block Settings), #5 (Frontend Overlay), #6 (Carousel Gallery), #7 (Masonry Gallery)
webcam-gallery/webcam-gallery.php Passed 13 tests
The principal PHP file in "Webcam Gallery" v. 0.1.0 is loaded by WordPress automatically on each request
67 characters long description:
Plugin to take picture with WebCam and create galleries in editor .
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin19,777 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 1 | 0 | 19,224 |
JavaScript | 6 | 166 | 70 | 469 |
Sass | 2 | 19 | 0 | 75 |
PHP | 3 | 2 | 20 | 7 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin