Benchmarks
Plugin footprint 83% 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.03MB] [CPU: ▼1.98ms] Passed 4 tests
This is a short check of server-side resources used by Easy CRM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.57 ▲3.00 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.04 ▼3.92 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.80 ▲5.78 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.06 ▼8.20 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.00 ▲1.22 |
Tasks /wp-admin/admin.php?page=wp-easy-crm-tasks | 3.32 | 34.85 |
Add ClientLog /wp-admin/admin.php?page=wp-easy-crm-addclientlog | 3.32 | 30.74 |
Forms /wp-admin/admin.php?page=wp-easy-crm-forms | 3.27 | 27.96 |
Quote Invoice View /wp-admin/admin.php?page=wp-easy-crm-quoteview | 3.32 | 26.22 |
Client Profile /wp-admin/admin.php?page=wp-easy-crm-perfil | 3.34 | 33.22 |
Settings /wp-admin/admin.php?page=wp-easy-crm-settings | 3.29 | 30.45 |
Add Client /wp-admin/admin.php?page=wp-easy-crm-addclient | 3.33 | 32.16 |
Add Task /wp-admin/admin.php?page=wp-easy-crm-addquote | 3.45 | 32.71 |
Contacts /wp-admin/admin.php?page=wp-easy-crm | 3.30 | 30.35 |
Quotes / Invoices /wp-admin/admin.php?page=wp-easy-crm-quotes | 3.29 | 30.05 |
Server storage [IO: ▲1.76MB] [DB: ▲0.08MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 31 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_clients |
wp_quoteclient |
wp_lineitemquote |
wp_logclient |
wp_task |
New WordPress options |
---|
widget_recent-posts |
clients_db_version |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy CRM
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲121 | 15.95 ▲1.30 | 1.79 ▲0.04 | 43.60 ▲3.94 |
Dashboard /wp-admin | 2,278 ▲89 | 7.10 ▲1.06 | 186.99 ▲81.13 | 38.71 ▼1.64 |
Posts /wp-admin/edit.php | 2,134 ▲48 | 4.05 ▲2.01 | 63.67 ▲28.23 | 36.99 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,705 ▲170 | 28.28 ▲5.03 | 633.51 ▼43.66 | 28.96 ▼21.33 |
Media Library /wp-admin/upload.php | 1,433 ▲48 | 5.99 ▲1.78 | 121.56 ▲14.16 | 40.61 ▼3.81 |
Tasks /wp-admin/admin.php?page=wp-easy-crm-tasks | 867 | 3.65 | 47.60 | 27.97 |
Add ClientLog /wp-admin/admin.php?page=wp-easy-crm-addclientlog | 826 | 3.66 | 47.08 | 23.52 |
Forms /wp-admin/admin.php?page=wp-easy-crm-forms | 925 | 3.67 | 44.56 | 27.49 |
Quote Invoice View /wp-admin/admin.php?page=wp-easy-crm-quoteview | 893 | 3.66 | 47.90 | 24.39 |
Client Profile /wp-admin/admin.php?page=wp-easy-crm-perfil | 920 | 3.56 | 48.89 | 39.36 |
Settings /wp-admin/admin.php?page=wp-easy-crm-settings | 1,964 | 11.09 | 175.90 | 67.88 |
Add Client /wp-admin/admin.php?page=wp-easy-crm-addclient | 1,150 | 3.71 | 45.47 | 23.70 |
Add Task /wp-admin/admin.php?page=wp-easy-crm-addquote | 1,841 | 9.04 | 152.89 | 46.24 |
Contacts /wp-admin/admin.php?page=wp-easy-crm | 770 | 3.67 | 47.97 | 20.43 |
Quotes / Invoices /wp-admin/admin.php?page=wp-easy-crm-quotes | 789 | 3.56 | 49.06 | 24.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-quotes
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-quotes
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
- 39 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-addquote
- > Notice in wp-content/plugins/wp-easy-crm/views/addQuote.php+355
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-addclientlog
- > Notice in wp-content/plugins/wp-easy-crm/views/addClientLog.php+173
Undefined variable: row_details_log
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-settings
- > Notice in wp-content/plugins/wp-easy-crm/views/settings.php+43
Undefined variable: settings_updated
- 16 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-quoteview
- > Notice in wp-content/plugins/wp-easy-crm/views/quoteView.php+215
Undefined variable: quotedetail
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-quoteview
- > Notice in wp-content/plugins/wp-easy-crm/views/quoteView.php+107
Undefined variable: msg
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-quoteview
- > Notice in wp-content/plugins/wp-easy-crm/views/quoteView.php+163
Undefined variable: lineitems
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-settings
- > Notice in wp-content/plugins/wp-easy-crm/views/settings.php+62
Undefined index: introduction
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-addquote
- > Notice in wp-content/plugins/wp-easy-crm/views/addQuote.php+340
Undefined variable: row_details_Quote
- > GET request to /wp-admin/admin.php?page=wp-easy-crm-addquote
- > Notice in wp-content/plugins/wp-easy-crm/views/addQuote.php+401
Undefined variable: row_details_LineItems
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
- 40× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-easy-crm/views/addClient.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-easy-crm/views/addClient.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-easy-crm/views/listClients.php:15
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-easy-crm/views/tasks.php on line 6
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-easy-crm/views/listClients.php on line 9
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-easy-crm/views/addQuote.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-easy-crm/views/addTask.php:9
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-easy-crm/views/listClients.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-easy-crm/views/addQuote.php:11
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-easy-crm/views/listClients.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: tasks, crm, invoices, quotes, leads
wp-easy-crm/easy-crm.php 92% from 13 tests
"Easy CRM" version 1.0.11's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-easy-crm.php" instead of "easy-crm.php")
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 detected2,625 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 680 | 161 | 2,150 |
PO File | 1 | 181 | 193 | 471 |
JavaScript | 2 | 3 | 19 | 3 |
CSS | 1 | 3 | 11 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for 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 | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 6.44KB | 3.05KB | ▼ 52.64% |
assets/icon-128x128.png | 6.15KB | 2.76KB | ▼ 55.03% |