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.31MB] [CPU: ▲1.14ms] Passed 4 tests
A check of server-side resources used by WP Scraper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 42.08 ▲2.28 |
Dashboard /wp-admin | 3.62 ▲0.32 | 46.08 ▼0.19 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 47.13 ▲0.38 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 98.29 ▲4.23 |
Media Library /wp-admin/upload.php | 3.54 ▲0.32 | 37.61 ▲2.08 |
Multiple Scrape3 /wp-admin/admin.php?page=wp-scraper-results-menu | 3.50 | 34.02 |
Multiple Scrape /wp-admin/admin.php?page=wp-scraper-url-menu | 3.51 | 32.45 |
Pro Versions /wp-admin/admin.php?page=wp-scraper-pro-versions | 3.51 | 31.19 |
Multiple Scrape2 /wp-admin/admin.php?page=wp-scraper-add-menu | 3.51 | 36.27 |
Single Scrape /wp-admin/admin.php?page=wp-scraper | 3.59 | 44.99 |
Help /wp-admin/admin.php?page=wp-scraper-help-menu | 3.51 | 36.32 |
Server storage [IO: ▲4.50MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 100 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
wpscraper_mlimit |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Scraper
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 14.68 ▲0.30 | 1.61 ▼0.22 | 39.60 ▼4.28 |
Dashboard /wp-admin | 2,236 ▲50 | 4.86 ▼0.05 | 107.06 ▼12.03 | 46.42 ▲0.98 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.99 ▼0.02 | 34.57 ▼0.77 | 32.12 ▼7.12 |
Add New Post /wp-admin/post-new.php | 1,571 ▲38 | 18.54 ▼4.85 | 592.74 ▼94.50 | 72.76 ▲15.24 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.18 ▼0.03 | 98.72 ▼9.40 | 43.85 ▼2.85 |
Multiple Scrape3 /wp-admin/admin.php?page=wp-scraper-results-menu | 949 | 2.38 | 28.38 | 23.80 |
Multiple Scrape /wp-admin/admin.php?page=wp-scraper-url-menu | 1,013 | 2.23 | 25.68 | 28.03 |
Pro Versions /wp-admin/admin.php?page=wp-scraper-pro-versions | 929 | 2.02 | 28.64 | 41.81 |
Multiple Scrape2 /wp-admin/admin.php?page=wp-scraper-add-menu | 2,103 | 7.37 | 152.81 | 62.64 |
Single Scrape /wp-admin/admin.php?page=wp-scraper | 2,070 | 7.37 | 145.69 | 47.75 |
Help /wp-admin/admin.php?page=wp-scraper-help-menu | 1,618 | 2.01 | 28.35 | 38.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- wpscraper_mlimit
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-scraper-add-menu
- > Notice in wp-content/plugins/wp-scraper/wp-scraper.php+185
Undefined index: url_list
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawl\\CookieCache\\PHPCrawlerCookieCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/CookieCache/PHPCrawlerMemoryCookieCache.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawl\\UrlCache\\PHPCrawlerURLCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/UrlCache/PHPCrawlerSQLiteURLCache.php:19
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerURLCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/UrlCache/PHPCrawlerMemoryURLCache.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerCookieCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/CookieCache/PHPCrawlerMemoryCookieCache.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerCookieCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/CookieCache/PHPCrawlerSQLiteCookieCache.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawl\\CookieCache\\PHPCrawlerCookieCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/CookieCache/PHPCrawlerSQLiteCookieCache.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/wp-scraper/wp-scraper.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerURLCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/UrlCache/PHPCrawlerSQLiteURLCache.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawl\\UrlCache\\PHPCrawlerURLCacheBase' not found in wp-content/plugins/wp-scraper/includes/libs/UrlCache/PHPCrawlerMemoryURLCache.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wp-scraper-results-menu
- > Network (severe)
wp-admin/admin.php?page=wp-scraper&action=add - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 need to be fixed:
- Requires at least: Invalid version format
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
wp-scraper/wp-scraper.php Passed 13 tests
The primary PHP file in "WP Scraper" version 5.7 is used by WordPress to initiate all plugin functionality
86 characters long description:
This plugin allows you to copy content from websites directly to your WordPress posts.
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
Success! There were no dangerous files found in this plugin12,240 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 2,861 | 7,403 | 10,376 |
JavaScript | 6 | 108 | 62 | 1,564 |
CSS | 1 | 57 | 6 | 300 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 4 | 5.88% |
▷ Concrete classes | 64 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 574 | |
▷ Static methods | 87 | 15.16% |
▷ Public methods | 487 | 84.84% |
▷ Protected methods | 87 | 15.16% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 17 | 73.91% |
▷ Anonymous functions | 6 | 26.09% |
Constants | 74 | |
▷ Global constants | 23 | 31.08% |
▷ Class constants | 51 | 68.92% |
▷ Public constants | 51 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.63MB with 0.22MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/New-pro-Screenshots.png | 492.10KB | 154.42KB | ▼ 68.62% |
images/WP-Live-Scraper-1.png | 152.62KB | 151.75KB | ▼ 0.57% |