Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.42ms] Passed 4 tests
This is a short check of server-side resources used by crawler-hunter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 44.47 ▼3.64 |
Dashboard /wp-admin | 3.42 ▲0.12 | 49.37 ▼1.97 |
Posts /wp-admin/edit.php | 3.54 ▲0.17 | 50.68 ▲8.88 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 87.22 ▼5.15 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 42.76 ▲5.08 |
crawler-hunter /wp-admin/admin.php?page=crawler-hunter-admin-menu | 3.32 | 34.31 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_crawler_hunter |
wp_crawler_hunter_ip |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
crwopt |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for crawler-hunter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲128 | 14.06 ▼0.37 | 10.13 ▲7.50 | 42.25 ▼4.49 |
Dashboard /wp-admin | 2,233 ▲59 | 5.90 ▲0.29 | 89.56 ▼1.38 | 41.51 ▲4.21 |
Posts /wp-admin/edit.php | 2,137 ▲40 | 2.31 ▲0.29 | 40.53 ▲2.73 | 35.45 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.43 ▲0.30 | 700.82 ▼12.84 | 56.31 ▼4.87 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.40 ▲0.18 | 114.55 ▲3.98 | 47.59 ▲1.43 |
crawler-hunter-ip /wp-admin/crw_ip.php | 26 | 0.42 | 0.06 | 15.10 |
crawler-hunter /wp-admin/admin.php?page=crawler-hunter-admin-menu | 1,254 | 2.37 | 43.02 | 37.06 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/crw_ip.php
- > Network (severe)
wp-admin/crw_ip.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=crawler-hunter-admin-menu
- > Network (severe)
wp-content/plugins/crawler-hunter/images/sort_both.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=crawler-hunter-admin-menu
- > Network (severe)
wp-content/plugins/crawler-hunter/images/sort_desc.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: ban, spiders, bad bots, security, block
crawler-hunter/crw_hunter.php 92% from 13 tests
The entry point to "crawler-hunter" version 1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("crawler-hunter.php" instead of "crw_hunter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin918 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 601 | 88 | 698 |
JavaScript | 3 | 0 | 12 | 204 |
Markdown | 1 | 3 | 0 | 15 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin