Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.64ms] Passed 4 tests
A check of server-side resources used by Event Insight
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.97 ▼10.20 |
Dashboard /wp-admin | 3.44 ▲0.14 | 45.97 ▼4.78 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 47.88 ▲2.23 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 101.57 ▲15.41 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.80 ▲6.19 |
Event Insight /wp-admin/admin.php?page=event-insight-data | 3.33 | 32.52 |
Secrets /wp-admin/admin.php?page=event-insight-secrets | 3.33 | 33.42 |
Settings /wp-admin/admin.php?page=event-insight-settings | 3.33 | 32.01 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Event Insight
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.20 ▼1.45 | 1.56 ▼0.49 | 42.84 ▼1.01 |
Dashboard /wp-admin | 2,237 ▲46 | 5.87 ▲0.99 | 108.44 ▼10.57 | 39.10 ▼3.65 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 2.06 ▲0.05 | 39.46 ▲2.65 | 37.80 ▲3.04 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 17.77 ▼5.31 | 646.07 ▼16.20 | 62.81 ▲6.02 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.28 ▲0.09 | 94.63 ▼6.77 | 42.37 ▼1.94 |
Event Insight /wp-admin/admin.php?page=event-insight-data | 871 | 2.38 | 32.67 | 31.22 |
Secrets /wp-admin/admin.php?page=event-insight-secrets | 831 | 2.05 | 25.73 | 26.40 |
Settings /wp-admin/admin.php?page=event-insight-settings | 800 | 2.03 | 24.57 | 26.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'EventInsight\\WpPlugin\\AdminPage' not found in wp-content/plugins/event-insight/src/DataPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'EventInsight\\WpPlugin\\AdminPage' not found in wp-content/plugins/event-insight/src/SettingsPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'EventInsight\\WpPlugin\\AdminPage' not found in wp-content/plugins/event-insight/src/SecretsPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'EventInsight\\WpPlugin\\OptionsGroup' not found in wp-content/plugins/event-insight/src/SecretOptions.php:17
- > PHP Fatal error
Uncaught Error: Class 'EventInsight\\WpPlugin\\Plugin' not found in wp-content/plugins/event-insight/src/Plugin.php:21
- > PHP Fatal error
Uncaught Error: Class 'EventInsight\\WpPlugin\\Routes' not found in wp-content/plugins/event-insight/src/Routes.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== event-insight ===
)
event-insight/event-insight.php 92% from 13 tests
The principal PHP file in "Event Insight" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
No dangerous file extensions were detected873 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 272 | 557 | 859 |
JavaScript | 2 | 0 | 5 | 13 |
CSS | 1 | 0 | 2 | 1 |
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.28 |
Average class complexity | 5.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 47 | 74.60% |
▷ Protected methods | 16 | 25.40% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin