Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/phpQueryObject.php+1055
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.79ms] Passed 4 tests
Server-side resources used by WP Bitbucket
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.32 ▼2.13 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.86 ▼1.21 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 43.92 ▼1.57 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.25 ▼6.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.18 ▼0.09 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 85 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wp-bitbucket/wp-bitbucket.php-db-version |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Bitbucket
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.30 ▼1.25 | 1.75 ▲0.01 | 43.37 ▼5.32 |
Dashboard /wp-admin | 2,206 ▲21 | 4.82 ▼0.02 | 102.31 ▲0.15 | 38.91 ▼8.32 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 1.99 ▼0.05 | 36.64 ▼6.88 | 34.00 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,528 ▼11 | 18.35 ▼5.02 | 616.39 ▼5.12 | 54.14 ▲0.79 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▼0.01 | 94.02 ▼5.95 | 43.46 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- wp-bitbucket/wp-bitbucket.php-db-version
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
Good news, no errors were detected
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
- 122× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require_once(Zend/Validate/Hostname/Interface.php): failed to open stream: No such file or directory in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Validate/Hostname/Se.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Validate/Abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Validate/Barcode.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Http/Client.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Validate/Abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Validate/Alpha.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Uri.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Uri/Http.php on line 25
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Validate/Abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Validate/File/Size.php on line 25
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Json/Exception.php on line 25
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Validate/Abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Validate/Float.php on line 27
- > PHP Warning
require_once(Zend/Validate/Hostname/Interface.php): failed to open stream: No such file or directory in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/Zend/Validate/Hostname/De.php on line 27
- > PHP Notice
Undefined variable: self in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery/plugins/Scripts/fix_webroot.php on line 8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were 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
2 plugin tags: shortcode, bitbucket
wp-bitbucket/wp-bitbucket.php 92% from 13 tests
The main PHP script in "WP Bitbucket" version 0.2.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin9,363 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 81 | 1,460 | 7,850 | 9,014 |
CSS | 3 | 48 | 31 | 349 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 555.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 8 | 10.13% |
▷ Concrete classes | 71 | 89.87% |
▷ Final classes | 0 | 0.00% |
Methods | 612 | |
▷ Static methods | 142 | 23.20% |
▷ Public methods | 521 | 85.13% |
▷ Protected methods | 84 | 13.73% |
▷ Private methods | 7 | 1.14% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 107 | |
▷ Global constants | 4 | 3.74% |
▷ Class constants | 103 | 96.26% |
▷ Public constants | 103 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin