Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method GNA_CrawlingErrors::activate_handler() should not be called statically
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.26ms] Passed 4 tests
A check of server-side resources used by GNA Crawling Errors
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.06 ▲6.03 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.38 ▼4.10 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 56.56 ▲7.21 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.46 ▼17.47 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.36 ▲2.50 |
Checking /wp-admin/admin.php?page=gna-ce-checking-menu | 3.63 | 36.24 |
Settings /wp-admin/admin.php?page=gna-ce-settings-menu | 3.26 | 35.22 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
GNA Crawling Errors: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.17 ▼0.20 | 1.97 ▲0.05 | 47.94 ▲6.22 |
Dashboard /wp-admin | 2,221 ▲41 | 5.68 ▲0.02 | 93.95 ▲2.60 | 65.03 ▲22.05 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.01 ▲0.05 | 41.10 ▲2.81 | 35.79 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.28 ▲0.07 | 764.18 ▲91.19 | 56.96 ▲0.14 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.15 ▼0.02 | 117.29 ▲4.29 | 85.40 ▲38.97 |
Checking /wp-admin/admin.php?page=gna-ce-checking-menu | 833 | 2.17 | 25.36 | 27.19 |
Settings /wp-admin/admin.php?page=gna-ce-settings-menu | 814 | 2.13 | 27.74 | 25.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method GNA_CrawlingErrors::deactivate_handler() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 take a closer look at the following
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerCookieCacheBase' not found in wp-content/plugins/gna-crawling-errors/libs/CookieCache/PHPCrawlerSQLiteCookieCache.class.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/gna-crawling-errors/inc/gna-crawler-class.php:4
- > PHP Fatal error
Uncaught Error: Class 'GNA_CrawlingErrors_Admin_Menu' not found in wp-content/plugins/gna-crawling-errors/admin/gna-crawling-errors-admin-settings-menu.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gna-crawling-errors/inc/gna-crawling-errors-config.php:13
- > PHP Fatal error
Uncaught Error: Class 'GNA_CrawlingErrors_Admin_Menu' not found in wp-content/plugins/gna-crawling-errors/admin/gna-crawling-errors-admin-checking-menu.php:3
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerURLCacheBase' not found in wp-content/plugins/gna-crawling-errors/libs/UrlCache/PHPCrawlerSQLiteURLCache.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerURLCacheBase' not found in wp-content/plugins/gna-crawling-errors/libs/UrlCache/PHPCrawlerMemoryURLCache.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPCrawlerCookieCacheBase' not found in wp-content/plugins/gna-crawling-errors/libs/CookieCache/PHPCrawlerMemoryCookieCache.class.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: "none"
gna-crawling-errors/gna-crawling-errors.php Passed 13 tests
This is the main PHP file of "GNA Crawling Errors" version 0.9.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
84 characters long description:
Easy to check crawling errors of website and export the information to CSV type file
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,730 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 1,113 | 3,518 | 3,728 |
JavaScript | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 3 | 7.69% |
▷ Concrete classes | 36 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 293 | |
▷ Static methods | 41 | 13.99% |
▷ Public methods | 257 | 87.71% |
▷ Protected methods | 36 | 12.29% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 28 | |
▷ Global constants | 4 | 14.29% |
▷ Class constants | 24 | 85.71% |
▷ Public constants | 24 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/gna_20x20.png | 2.98KB | 0.33KB | ▼ 88.89% |