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
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8Base.php+29
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.91MB] [CPU: ▼50.43ms] Passed 4 tests
Server-side resources used by CanDAM-CntrButFW8Base
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.27 ▼34.04 |
Dashboard /wp-admin | 2.09 ▼1.21 | 6.94 ▼41.61 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.01 ▼40.99 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.34 ▼85.08 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 6.48 ▼29.54 |
Candam connector FW8-base /wp-admin/options-general.php?page=candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8BaseOptions.php | 2.10 | 7.67 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CanDAM-CntrButFW8Base
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.10 | 1.75 ▲0.14 | 47.29 ▲3.88 |
Dashboard /wp-admin | 2,202 ▲28 | 5.63 ▼0.05 | 88.42 ▼3.27 | 38.48 ▼5.50 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.00 | 34.48 ▼3.16 | 32.54 ▼4.65 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.83 ▼0.14 | 606.55 ▼25.36 | 63.60 ▼0.76 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.20 ▲0.02 | 96.60 ▼4.87 | 43.63 ▼0.25 |
Candam connector FW8-base /wp-admin/options-general.php?page=candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8BaseOptions.php | 830 | 1.99 | 26.85 | 28.52 |
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
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8Base.php+29
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
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
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8BaseOptions.php
- > Notice in wp-content/plugins/candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8BaseOptions.php+101
Trying to access array offset on value of type bool
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8Base.php
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 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
5 plugin tags: wordpress plugins, fotoware, candam, editor button plugin, fotoweb 8
candam-fotoware-editor-button-for-fotoweb8-base/CanDAM-CntrButFW8Base.php 92% from 13 tests
The primary PHP file in "CanDAM-CntrButFW8Base" version 1.3.6 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("candam-fotoware-editor-button-for-fotoweb8-base.php" instead of "CanDAM-CntrButFW8Base.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected491 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 39 | 63 | 384 |
PHP | 2 | 48 | 30 | 101 |
JavaScript | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin