Benchmarks
Plugin footprint 40% 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
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/camazee/camazee.php+366
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.30ms] Passed 4 tests
Server-side resources used by Camazee
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.02 ▼1.44 | 5.06 ▼37.14 |
Dashboard /wp-admin | 2.04 ▼1.26 | 7.87 ▼42.07 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.12 ▼44.16 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.90 ▼85.84 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.51 ▼33.92 |
Camazee /wp-admin/options-general.php?page=camazee-control | 2.05 | 5.65 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Camazee
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 14.31 ▲0.02 | 2.07 ▲0.34 | 43.55 ▼3.39 |
Dashboard /wp-admin | 2,207 ▲27 | 5.61 ▼0.02 | 97.53 ▲6.02 | 42.70 ▲1.43 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.01 ▲0.01 | 39.96 ▲4.64 | 37.89 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,537 ▼8 | 17.41 ▼5.90 | 694.03 ▲1.47 | 55.28 ▼7.72 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▲0.06 | 104.97 ▼16.84 | 44.09 ▼3.97 |
Camazee /wp-admin/options-general.php?page=camazee-control | 922 | 2.16 | 24.40 | 34.03 |
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
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/camazee/camazee.php+366
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=camazee-control
- > Notice in wp-content/plugins/camazee/camazee.php+228
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/camazee/camazee.php:13
- > 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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== camazee ===
)
camazee/camazee.php Passed 13 tests
"Camazee" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
68 characters long description:
With Camazee plugin you can easily add video chat into your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected301 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 30 | 301 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 9 | 100.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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