Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.16ms] Passed 4 tests
An overview of server-side resources used by Olive One Click Demo Import
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 45.62 ▲1.67 |
Dashboard /wp-admin | 3.42 ▲0.12 | 49.01 ▼3.40 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 55.20 ▼6.66 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 103.51 ▲3.77 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 42.12 ▲6.23 |
Olive Importer /wp-admin/themes.php?page=olive-one-click-demo-import | 3.33 | 38.70 |
Server storage [IO: ▲0.96MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 219 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Olive One Click Demo Import
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.36 ▼0.34 | 1.87 ▼0.16 | 42.89 ▼1.35 |
Dashboard /wp-admin | 2,196 ▲22 | 5.52 ▼0.05 | 90.29 ▼0.04 | 37.59 ▼2.93 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.03 | 40.01 ▼4.14 | 37.16 ▼3.56 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.03 ▼0.11 | 656.83 ▼33.05 | 53.52 ▲2.58 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.15 | 96.76 ▼11.35 | 44.06 ▼3.27 |
Olive Importer /wp-admin/themes.php?page=olive-one-click-demo-import | 1,364 | 8.84 | 182.12 | 54.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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 no errors were found, this is by no means an exhaustive test
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
- 162× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php:17
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php:17
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Processor\\MemoryProcessor' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php:24
- > PHP Fatal error
Uncaught Error: Class 'ProteusThemes\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/proteusthemes/wp-content-importer-v2/src/Importer.php:10
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/RegistryTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'Psr\\Log\\AbstractLogger' not found in wp-content/plugins/olive-one-click-demo-import/inc/lib/WordPress-Importer/vendor/psr/log/Psr/Log/NullLogger.php:13
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: import, data, demo, content, settings...
olive-one-click-demo-import/olive-one-click-demo-import.php Passed 13 tests
The main PHP file in "Olive One Click Demo Import" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
74 characters long description:
One Click Demo Import for WordPress sites. Specially works for FSE Themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected18,342 lines of code in 210 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 199 | 4,179 | 7,860 | 17,442 |
Markdown | 6 | 191 | 0 | 667 |
JSON | 2 | 0 | 0 | 214 |
XML | 1 | 3 | 0 | 16 |
CSS | 1 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 289.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 5 | |
Traits | 2 | |
Classes | 199 | |
▷ Abstract classes | 7 | 3.52% |
▷ Concrete classes | 192 | 96.48% |
▷ Final classes | 0 | 0.00% |
Methods | 1,278 | |
▷ Static methods | 41 | 3.21% |
▷ Public methods | 960 | 75.12% |
▷ Protected methods | 241 | 18.86% |
▷ Private methods | 77 | 6.03% |
Functions | 82 | |
▷ Named functions | 18 | 21.95% |
▷ Anonymous functions | 64 | 78.05% |
Constants | 62 | |
▷ Global constants | 4 | 6.45% |
▷ Class constants | 58 | 93.55% |
▷ Public constants | 58 | 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 files were detected