Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/wis-scrapper/lib/forceutf8/Encoding.php+171
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.59MB] [CPU: ▼47.83ms] Passed 4 tests
Analyzing server-side resources used by WIS Scrapper
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.40 ▼1.07 | 8.21 ▼28.51 |
Dashboard /wp-admin | 2.42 ▼0.89 | 10.78 ▼38.75 |
Posts /wp-admin/edit.php | 2.42 ▼0.94 | 9.15 ▼41.26 |
Add New Post /wp-admin/post-new.php | 2.42 ▼3.47 | 10.17 ▼82.78 |
Media Library /wp-admin/upload.php | 2.42 ▼0.81 | 9.96 ▼23.45 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 31 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_wis_backup_packages |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
wis_backup_settings |
theysaidso_admin_options |
db_upgraded |
wis_backup_version_plugin |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WIS Scrapper
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.59 ▲0.39 | 1.72 ▼2.71 | 44.54 ▲2.24 |
Dashboard /wp-admin | 2,223 ▲35 | 5.85 ▲0.98 | 94.67 ▼16.72 | 40.00 ▼5.81 |
Posts /wp-admin/edit.php | 2,082 ▼10 | 2.02 ▼0.07 | 34.13 ▼7.21 | 31.00 ▼7.15 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 23.21 ▲0.00 | 653.31 ▲74.39 | 54.30 ▼6.00 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.22 ▼0.02 | 102.91 ▲6.31 | 45.84 ▲0.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wis-scrapper/lib/forceutf8/Encoding.php+171
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wis-scrapper/templates/menus/multi-step/wis-step-3.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wis-scrapper/helpers/wis_ajax.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/wis-scrapper/templates/menus/wis-main-add.php:18
- > PHP Fatal error
require_once(): Failed opening required 'WIS_SCRAPPER_PLUGIN_PATHhelpers/utilities/class.u.php' (include_path='.:/usr/share/php') in wp-content/plugins/wis-scrapper/helpers/class.server.php on line 14
- > PHP Warning
Use of undefined constant WIS_SCRAPPER_PLUGIN_PATH - assumed 'WIS_SCRAPPER_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wis-scrapper/helpers/class.server.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wis-scrapper/define.php:3
- > PHP Warning
require_once(WIS_SCRAPPER_PLUGIN_PATHhelpers/utilities/class.u.php): failed to open stream: No such file or directory in wp-content/plugins/wis-scrapper/helpers/class.server.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wis-scrapper/helpers/wis_menus_settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wis-scrapper/helpers/wis_enqueue_assets.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wis-scrapper/define.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (WIS_Scrapper_Admin_End) image required
- Requires php: The plugin version is formatted incorrectly
wis-scrapper/wis-scrapper.php Passed 13 tests
Analyzing the main PHP file in "WIS Scrapper" version 0.1
140 characters long description:
Custom plugin to download WordPress setup with full database. This plugin will help to make the migration and backup process easier for all.
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
There were no executable files found in this plugin3,821 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 4 | 1,036 | 2,566 |
CSS | 6 | 1 | 52 | 932 |
JavaScript | 2 | 0 | 13 | 284 |
Markdown | 1 | 0 | 0 | 39 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 24.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 4.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 2 | 9.09% |
Methods | 128 | |
▷ Static methods | 83 | 64.84% |
▷ Public methods | 113 | 88.28% |
▷ Protected methods | 2 | 1.56% |
▷ Private methods | 13 | 10.16% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 41 | |
▷ Global constants | 28 | 68.29% |
▷ Class constants | 13 | 31.71% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin