Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲4.92MB] [CPU: ▲23.00ms] Passed 4 tests
This is a short check of server-side resources used by PowerLink CRM for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.74 ▲5.28 | 72.68 ▲29.57 |
Dashboard /wp-admin | 8.76 ▲5.46 | 70.83 ▲15.45 |
Posts /wp-admin/edit.php | 8.76 ▲5.41 | 76.07 ▲22.75 |
Add New Post /wp-admin/post-new.php | 9.42 ▲3.54 | 120.82 ▲24.23 |
Media Library /wp-admin/upload.php | 8.76 ▲5.53 | 73.29 ▲35.96 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 8.76 | 62.48 |
Powerlink CRM /wp-admin/index.php?page=powerlink-crm | 8.76 | 55.46 |
Server storage [IO: ▲3.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 168 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
fs_gdpr |
fs_accounts |
widget_recent-comments |
fs_active_plugins |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
fs_debug_mode |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PowerLink CRM for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.30 ▼1.45 | 1.65 ▼0.26 | 32.61 ▼11.03 |
Dashboard /wp-admin | 2,228 ▲43 | 5.89 ▲1.03 | 107.55 ▼9.98 | 45.33 ▲5.39 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.01 ▼0.08 | 40.09 ▲1.70 | 40.45 ▲4.04 |
Add New Post /wp-admin/post-new.php | 1,525 ▲11 | 21.96 ▲4.21 | 668.53 ▼31.56 | 67.92 ▲9.36 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.16 ▼0.03 | 114.22 ▲7.94 | 51.45 ▲4.77 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 1,070 | 1.71 | 26.27 | 26.56 |
Powerlink CRM /wp-admin/index.php?page=powerlink-crm | 988 | 2.09 | 27.07 | 55.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/powerlink-crm-for-elementor/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- fs_active_plugins
- fs_debug_mode
- fs_gdpr
- fs_accounts
- 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
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/powerlink-crm-for-elementor/admin/admin_powerlink.php:124
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: crm, powerlink, fireberry, elementor form, contact form
powerlink-crm-for-elementor/elementor-forms-powerlink-action.php 85% from 13 tests
The principal PHP file in "PowerLink CRM for Elementor" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("powerlink-crm-for-elementor.php" instead of "elementor-forms-powerlink-action.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin30,747 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 110 | 7,266 | 16,255 | 30,539 |
JavaScript | 3 | 34 | 59 | 194 |
CSS | 11 | 0 | 0 | 14 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 86.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 2 | 4.26% |
▷ Concrete classes | 45 | 95.74% |
▷ Final classes | 0 | 0.00% |
Methods | 1,145 | |
▷ Static methods | 173 | 15.11% |
▷ Public methods | 805 | 70.31% |
▷ Protected methods | 15 | 1.31% |
▷ Private methods | 325 | 28.38% |
Functions | 95 | |
▷ Named functions | 95 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 124 | |
▷ Global constants | 99 | 79.84% |
▷ Class constants | 25 | 20.16% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/powerlink-logo.png | 5.72KB | 4.09KB | ▼ 28.51% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/powerlink-elementor-form.png | 9.16KB | 5.26KB | ▼ 42.58% |