Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.21ms] Passed 4 tests
A check of server-side resources used by WPEventPartners Demo Import
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.84 ▼8.34 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.78 ▼4.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.71 ▲4.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 93.15 ▲4.07 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.46 ▼0.35 |
Demo Import /wp-admin/themes.php?page=advanced-import | 3.23 | 38.24 |
Server storage [IO: ▲3.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
__wep_demo_import_do_redirect |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WPEventPartners Demo Import
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 14.75 ▲0.42 | 1.63 ▼0.76 | 41.58 ▼6.56 |
Dashboard /wp-admin | 2,247 ▲65 | 6.03 ▲1.16 | 96.84 ▼11.68 | 41.18 ▼5.76 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.06 ▲0.01 | 40.91 ▲3.11 | 36.32 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 23.18 ▼0.12 | 664.39 ▼8.07 | 48.45 ▼11.34 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 4.28 ▲0.02 | 99.99 ▼7.14 | 44.26 ▼2.93 |
Demo Import /wp-admin/themes.php?page=advanced-import | 829 | 2.23 | 27.87 | 30.70 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- __wep_demo_import_do_redirect
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wep-demo-import/public/partials/wep-demo-import-public-display.php
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 Passed 29 tests
readme.txt Passed 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
2 plugin tags: one click demo import, demo import
wep-demo-import/wep-demo-import.php Passed 13 tests
Analyzing the main PHP file in "WPEventPartners Demo Import" version 1.0.4
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
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
No dangerous file extensions were detected782 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 199 | 542 | 665 |
CSS | 2 | 9 | 4 | 58 |
JSON | 33 | 0 | 0 | 33 |
JavaScript | 2 | 7 | 32 | 26 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 5 | 16.13% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected