Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/catalyst-connect/catalyst-connect.php+37
Methods with the same name as their class will not be constructors in a future version of PHP; CatalystConnect has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼51.53ms] Passed 4 tests
This is a short check of server-side resources used by Catalyst Connect
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.30 ▼38.94 |
Dashboard /wp-admin | 2.10 ▼1.20 | 5.81 ▼40.60 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.39 ▼41.07 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.65 ▼85.52 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.50 ▼30.63 |
Catalyst Connect /wp-admin/admin.php?page=catalyst-connect/inc/admin.php | 2.10 | 5.91 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
catalyst_connect |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Catalyst Connect
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.24 ▼1.16 | 1.71 ▼0.49 | 44.48 ▲2.12 |
Dashboard /wp-admin | 2,207 ▲16 | 5.87 ▲0.97 | 98.57 ▼1.16 | 38.49 ▼6.29 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.02 | 43.02 ▲5.63 | 35.67 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 23.10 ▼0.14 | 643.73 ▼50.53 | 54.07 ▼5.20 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.27 ▲0.10 | 93.65 ▼7.71 | 42.69 ▼3.32 |
Catalyst Connect /wp-admin/admin.php?page=catalyst-connect/inc/admin.php | 962 | 1.81 | 28.85 | 31.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/catalyst-connect/catalyst-connect.php+37
Methods with the same name as their class will not be constructors in a future version of PHP; CatalystConnect has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- catalyst_connect
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=catalyst-connect/inc/admin.php
- > Deprecated in wp-content/plugins/catalyst-connect/catalyst-connect.php+37
Methods with the same name as their class will not be constructors in a future version of PHP; CatalystConnect has a deprecated constructor
- > GET request to /wp-admin/admin.php?page=catalyst-connect/inc/admin.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method CatalystConnect::init() should not be called statically
- > GET request to /wp-admin/admin.php?page=catalyst-connect/inc/admin.php
- > Deprecated in wp-content/plugins/catalyst-connect/inc/admin.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; CatalystConnectAdmin has a deprecated constructor
SRP 50% 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
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'CatalystConnect' not found in wp-content/plugins/catalyst-connect/inc/frontend.php:5
- > PHP Fatal error
Uncaught Error: Class 'CatalystConnect' not found in wp-content/plugins/catalyst-connect/inc/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/catalyst-connect/inc/options_page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/catalyst-connect/catalyst-connect.php:205
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Catalyst Connect executes it's functionality automatically based on which Plugins are currently active.), #2 (With the options provided you can "turn off" certain functionality and then manually add it back in as needed.), #3 (Use Catalyst Connect with one, two or all three of these 3rd party Plugins.), #4 (When all three Plugins are inactive Catalyst Connect is too...at least in terms of executing integration code.)
catalyst-connect/catalyst-connect.php 85% from 13 tests
"Catalyst Connect" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("catalyst-connect/localization")
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin698 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 103 | 183 | 569 |
PO File | 1 | 26 | 34 | 65 |
JavaScript | 1 | 10 | 4 | 38 |
CSS | 1 | 3 | 0 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
4 PNG files occupy 0.27MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 34.87KB | 8.37KB | ▼ 75.99% |
screenshot-2.png | 104.88KB | 31.13KB | ▼ 70.32% |
screenshot-1.png | 82.67KB | 23.41KB | ▼ 71.69% |
screenshot-3.png | 52.32KB | 15.25KB | ▼ 70.86% |