Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.54MB] [CPU: ▼4.30ms] Passed 4 tests
This is a short check of server-side resources used by Cliptakes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 25.85 ▼15.02 |
Dashboard /wp-admin | 3.91 ▲0.60 | 59.28 ▲9.73 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 54.77 ▲3.12 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.56 | 94.90 ▼10.50 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 38.59 ▲5.19 |
General Settings /wp-admin/admin.php?page=cliptakes-settings | 3.71 | 36.03 |
Recorded Interviews /wp-admin/admin.php?page=cliptakes-interviews | 3.71 | 35.99 |
API Settings /wp-admin/admin.php?page=cliptakes-api-settings | 3.71 | 35.50 |
Interview Templates /wp-admin/admin.php?page=cliptakes-templates | 3.71 | 33.51 |
Email Notifications /wp-admin/admin.php?page=cliptakes-contacts | 3.71 | 37.43 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
cliptakes_plugin_version |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Cliptakes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲117 | 13.23 ▼1.45 | 1.81 ▼0.32 | 40.38 ▼10.09 |
Dashboard /wp-admin | 2,255 ▲67 | 5.84 ▲0.94 | 98.13 ▼8.27 | 39.44 ▼3.82 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.06 ▲0.00 | 40.58 ▼3.31 | 35.91 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,565 ▲32 | 18.73 ▼4.46 | 615.84 ▼19.50 | 52.34 ▲1.30 |
Media Library /wp-admin/upload.php | 1,440 ▲55 | 4.16 ▼0.10 | 100.09 ▼0.24 | 42.72 ▼0.30 |
General Settings /wp-admin/admin.php?page=cliptakes-settings | 2,696 | 9.38 | 207.64 | 97.92 |
Recorded Interviews /wp-admin/admin.php?page=cliptakes-interviews | 954 | 1.97 | 29.24 | 25.81 |
API Settings /wp-admin/admin.php?page=cliptakes-api-settings | 953 | 1.96 | 28.52 | 30.10 |
Interview Templates /wp-admin/admin.php?page=cliptakes-templates | 1,098 | 2.10 | 28.06 | 26.08 |
Email Notifications /wp-admin/admin.php?page=cliptakes-contacts | 973 | 1.96 | 26.95 | 27.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cliptakes-contacts
- > Notice in wp-content/plugins/cliptakes/admin/class-cliptakes-admin.php+290
Undefined index: get-started
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cliptakes-contacts
- > Notice in wp-content/plugins/cliptakes/admin/class-cliptakes-admin.php+292
Undefined index: create-free-account
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cliptakes-contacts
- > Notice in wp-content/plugins/cliptakes/admin/partials/cliptakes-admin-display.php+45
Undefined index: status
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cliptakes-contacts
- > Notice in wp-content/plugins/cliptakes/admin/partials/cliptakes-admin-display.php+46
Undefined index: product
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cliptakes-settings
- > Notice in wp-content/plugins/cliptakes/admin/class-cliptakes-admin.php+542
Undefined variable: CLIPTAKES_DEFAULT_SETTINGS
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cliptakes-settings
- > Notice in wp-content/plugins/cliptakes/admin/class-cliptakes-admin.php+542
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/cliptakes/admin/partials/cliptakes-api-settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/cliptakes/public/cliptakes-interview-script-i18n.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cliptakes/admin/partials/cliptakes-admin-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cliptakes/admin/partials/cliptakes-template-editor.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cliptakes/admin/partials/cliptakes-general-settings.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cliptakes/admin/class-interview-list-table.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/cliptakes/admin/cliptakes-plugin-page-script-i18n.php:14
- > PHP Notice
Undefined variable: subscription_status in wp-content/plugins/cliptakes/admin/partials/cliptakes-api-settings.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cliptakes/admin/partials/cliptakes-contact-editor.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/cliptakes/includes/cliptakes-default-settings.php:16
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
cliptakes/cliptakes.php 92% from 13 tests
The main PHP script in "Cliptakes" version 1.3.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/cliptakes" does not exist
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
Good job! No executable or dangerous file extensions detected7,441 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 500 | 1,254 | 3,147 |
JavaScript | 3 | 101 | 93 | 2,929 |
CSS | 3 | 46 | 31 | 1,365 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 24.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 2 | 1.61% |
▷ Public methods | 97 | 78.23% |
▷ Protected methods | 20 | 16.13% |
▷ Private methods | 7 | 5.65% |
Functions | 20 | |
▷ Named functions | 13 | 65.00% |
▷ Anonymous functions | 7 | 35.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin