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: ▲0.15MB] [CPU: ▼165.91ms] Passed 4 tests
This is a short check of server-side resources used by holocam.io
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.97 ▲0.25 | 39.12 ▲16.67 |
Dashboard /wp-admin | 3.19 ▲0.14 | 42.37 ▼6.58 |
Posts /wp-admin/edit.php | 3.30 ▲0.20 | 48.94 ▲4.57 |
Add New Post /wp-admin/post-new.php | 5.55 ▲0.12 | 96.81 ▼669.28 |
Media Library /wp-admin/upload.php | 3.13 ▲0.13 | 38.92 ▲7.66 |
Panorama Images /wp-admin/edit.php?post_type=holocamimage | 3.18 | 42.57 |
Add New /wp-admin/post-new.php?post_type=holocamimage | 3.22 | 51.47 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_hcapikey |
New WordPress options |
---|
hc_db_version |
holocam_zipdel |
Browser metrics Passed 4 tests
Checking browser requirements for holocam.io
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲167 | 16.11 ▲0.30 | 11.09 ▼1.26 | 46.82 ▼4.19 |
Dashboard /wp-admin | 3,019 ▲82 | 5.96 ▼0.03 | 137.63 ▼24.02 | 112.75 ▼2.82 |
Posts /wp-admin/edit.php | 2,810 ▲71 | 2.73 ▲0.02 | 65.43 ▼2.67 | 91.38 ▼11.78 |
Add New Post /wp-admin/post-new.php | 1,705 ▲205 | 19.15 ▲0.40 | 376.25 ▲4.79 | 109.03 ▼4.74 |
Media Library /wp-admin/upload.php | 1,862 ▲40 | 5.04 ▲0.02 | 143.52 ▼9.52 | 114.99 ▼16.79 |
Panorama Images /wp-admin/edit.php?post_type=holocamimage | 1,497 | 2.63 | 62.08 | 83.82 |
Add New /wp-admin/post-new.php?post_type=holocamimage | 2,663 | 7.72 | 198.76 | 143.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_hcapikey
- Zombie WordPress options were found after uninstall: 2 options
- hc_db_version
- holocam_zipdel
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/holocam/holocam.php
- > /wp-content/plugins/holocam/apikey.php
- > /wp-content/plugins/holocam/posttype.php
- > /wp-content/plugins/holocam/hc_attachmentbox.php
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== holocam ===
) - Donate link: Invalid URI ("")
holocam/holocam.php Passed 13 tests
This is the main PHP file of "holocam.io" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
34 characters long description:
Panorama images upload for Holocam
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,084 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 88 | 51 | 519 |
JavaScript | 1 | 0 | 0 | 486 |
PO File | 1 | 24 | 27 | 66 |
CSS | 1 | 2 | 1 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 26 | |
▷ Named functions | 26 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected