Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼1.16MB] [CPU: ▼41.98ms] Passed 4 tests
This is a short check of server-side resources used by Custom Database Applications by Caspio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.81 ▼0.65 | 13.26 ▼28.27 |
Dashboard /wp-admin | 2.85 ▼0.45 | 16.42 ▼36.69 |
Posts /wp-admin/edit.php | 2.85 ▼0.50 | 17.12 ▼29.44 |
Add New Post /wp-admin/post-new.php | 2.85 ▼3.03 | 18.14 ▼73.53 |
Media Library /wp-admin/upload.php | 2.85 ▼0.38 | 16.56 ▼18.78 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Custom Database Applications by Caspio: 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,800 ▲65 | 13.35 ▼1.02 | 1.73 ▼0.09 | 39.92 ▼9.95 |
Dashboard /wp-admin | 2,206 ▲20 | 4.83 ▼0.10 | 102.23 ▼16.06 | 40.50 ▼2.29 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.98 ▼0.21 | 39.89 ▲4.08 | 35.04 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,542 ▲22 | 18.15 ▼5.05 | 632.86 ▼56.70 | 54.70 ▼4.73 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.01 | 94.36 ▼10.72 | 43.43 ▼4.13 |
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/custom-database-applications-by-caspio/classes/class-datapage-loader.php+4
Undefined variable: _SESSION
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/custom-database-applications-by-caspio/classes/class-datapage-loader.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/custom-database-applications-by-caspio/custom-database-applications-by-caspio.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tested up to: Invalid version format
- Requires at least: Invalid version format
custom-database-applications-by-caspio/custom-database-applications-by-caspio.php Passed 13 tests
The primary PHP file in "Custom Database Applications by Caspio" version 2.1 is used by WordPress to initiate all plugin functionality
127 characters long description:
This plugin allows you to embed Caspio apps seamlessly on any WordPress post or page, simply by pasting the provided shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin489 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 62 | 48 | 489 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 78.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 9.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 5 | 27.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 72.22% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin