Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.99ms] Passed 4 tests
An overview of server-side resources used by ConveYour for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.57 ▲3.61 |
Dashboard /wp-admin | 3.39 ▲0.09 | 42.16 ▼1.88 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 52.21 ▲4.78 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 88.42 ▼2.59 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.79 ▼7.08 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
ConveYour for WordPress: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.19 ▼1.56 | 4.53 ▲2.84 | 44.02 ▲1.39 |
Dashboard /wp-admin | 2,222 ▲37 | 4.88 ▼0.14 | 114.59 ▼19.24 | 41.97 ▼9.58 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.03 ▼0.01 | 60.39 ▲22.38 | 47.59 ▲11.40 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.75 ▼5.92 | 701.44 ▲2.30 | 69.48 ▲8.68 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.13 ▼0.11 | 117.13 ▲8.91 | 49.34 ▲5.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/conveyour-wp/conveyour.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Conveyour_Async_Task' not found in wp-content/plugins/conveyour-wp/includes/conveyour-login-task.php:3
- > PHP Warning
require_once(CONVEYOUR_PLUGIN_DIR/includes/conveyour-api.php): failed to open stream: No such file or directory in wp-content/plugins/conveyour-wp/includes/conveyour-client.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/conveyour-wp/ninja-popups.php:3
- > PHP Fatal error
require_once(): Failed opening required 'CONVEYOUR_PLUGIN_DIR/includes/conveyour-api.php' (include_path='.:/usr/share/php') in wp-content/plugins/conveyour-wp/includes/conveyour-client.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Task' not found in wp-content/plugins/conveyour-wp/includes/conveyour-async.php:3
- > PHP Fatal error
Uncaught Error: Class 'Conveyour_Async_Task' not found in wp-content/plugins/conveyour-wp/course-press.php:3
- > PHP Fatal error
Uncaught Error: Class 'Conveyour_Async_Task' not found in wp-content/plugins/conveyour-wp/includes/conveyour-identify-task.php:3
- > PHP Fatal error
Uncaught Error: Class 'Conveyour_Async_Task' not found in wp-content/plugins/conveyour-wp/gravity-forms.php:6
- > PHP Warning
Use of undefined constant CONVEYOUR_PLUGIN_DIR - assumed 'CONVEYOUR_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/conveyour-wp/includes/conveyour-client.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: syncing, gravity-forms, coursepress, analytics
conveyour-wp/conveyour.php 92% from 13 tests
The entry point to "ConveYour for WordPress" version 1.3.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("conveyour-wp.php" instead of "conveyour.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected983 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 251 | 253 | 983 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 10.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 3 | 25.00% |
▷ Concrete classes | 9 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 46.67% |
▷ Protected methods | 24 | 53.33% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.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
There were not PNG files found in your plugin