Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/celumconnect/celum_connect.php+67
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.68MB] [CPU: ▼52.91ms] Passed 4 tests
This is a short check of server-side resources used by celum:connect
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.32 ▼1.15 | 7.02 ▼32.98 |
Dashboard /wp-admin | 2.34 ▼1.01 | 9.62 ▼48.82 |
Posts /wp-admin/edit.php | 2.34 ▼1.02 | 8.77 ▼40.74 |
Add New Post /wp-admin/post-new.php | 2.34 ▼3.55 | 13.83 ▼89.10 |
Media Library /wp-admin/upload.php | 2.34 ▼0.89 | 8.08 ▼25.28 |
celum:connect /wp-admin/options-general.php?page=celum_connect | 2.34 | 9.40 |
Server storage [IO: ▲19.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 467 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
celum:connect: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.22 ▼1.48 | 1.82 ▲0.10 | 47.67 ▲8.66 |
Dashboard /wp-admin | 2,207 ▲19 | 5.80 ▲0.88 | 104.10 ▼0.45 | 39.40 ▼4.71 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.01 | 36.93 ▲0.11 | 35.25 ▲3.36 |
Add New Post /wp-admin/post-new.php | 6,190 ▲4,670 | 19.14 ▼4.04 | 904.69 ▲210.63 | 55.97 ▼0.56 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.32 ▼0.00 | 95.07 ▼2.69 | 41.41 ▼1.92 |
celum:connect /wp-admin/options-general.php?page=celum_connect | 975 | 2.07 | 24.47 | 27.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/celumconnect/celum_connect.php+67
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
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
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect.php+67
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+121
Undefined index: license_key
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+75
Undefined index: api_key
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+133
Undefined index: directdownload_secret
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+81
Undefined index: root_node
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+91
Undefined index: version
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+100
Undefined index: usage_download
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+107
Undefined index: usage_link
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+114
Undefined index: description_infofield
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+127
Undefined index: tab_name
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+175
Undefined index: supported_dfs
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+139
Undefined index: unknown_df
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+145
Undefined index: image_df
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+151
Undefined index: document_df
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+157
Undefined index: video_df
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+163
Undefined index: audio_df
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+169
Undefined index: text_df
- > GET request to /wp-admin/options-general.php?page=celum_connect
- > Notice in wp-content/plugins/celumconnect/celum_connect_settings.php+182
Undefined index: dlf_publicUrl_mapping
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 items
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/celumconnect/celum_connect_ajax.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/celumconnect/celum_connect_media.php:13
- > PHP Warning
require_once(ABSPATHwp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/celumconnect/celum_connect_ajax.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/celumconnect/block/index.php:34
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/image.php' (include_path='.:/usr/share/php') in wp-content/plugins/celumconnect/celum_connect_ajax.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/celumconnect/celum_connect_settings.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- License uri: Please fix this invalid URI: "https:/www.gnu.org/licenses/gpl-2.0.html"
celumconnect/celum_connect.php 85% from 13 tests
"celum:connect" version 2.27's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 188 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("celumconnect.php" instead of "celum_connect.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin33,091 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 3,371 | 578 | 20,144 |
JavaScript | 34 | 2,051 | 2,115 | 10,269 |
HTML | 49 | 49 | 30 | 1,157 |
PHP | 5 | 88 | 61 | 1,079 |
SVG | 4 | 0 | 0 | 300 |
PO File | 2 | 57 | 78 | 142 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 72 | |
▷ Named functions | 68 | 94.44% |
▷ Anonymous functions | 4 | 5.56% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
49 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assetPicker/assetPicker_2.1/picker/logo.png | 2.08KB | 0.90KB | ▼ 56.75% |
assetPicker/assetPicker_2.3/picker/inactive.png | 2.76KB | 0.12KB | ▼ 95.79% |
images/copy.png | 0.42KB | 0.48KB | 0.00% |
assetPicker/assetPicker_6.8.11/picker/inactive.png | 2.76KB | 0.12KB | ▼ 95.79% |
assetPicker/assetPicker_6.8.11/picker/ooops.png | 6.88KB | 3.00KB | ▼ 56.45% |