Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.02ms] Passed 4 tests
An overview of server-side resources used by Quickblog WP Blog Exporter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.02 ▼4.94 |
Dashboard /wp-admin | 3.35 ▲0.04 | 51.39 ▲2.42 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.55 ▼1.23 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.41 ▼16.34 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.13 ▲4.63 |
Server storage [IO: ▲38.26MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- Try to limit filesystem usage to 25MB (currently using 38.26MB)
Filesystem: 15,411 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Quickblog WP Blog Exporter: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲95 | 13.23 ▼1.00 | 1.93 ▲0.10 | 41.97 ▼6.31 |
Dashboard /wp-admin | 2,234 ▲31 | 5.83 ▼0.20 | 96.73 ▼6.46 | 42.16 ▲0.35 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.04 ▲0.02 | 38.20 ▲2.01 | 34.73 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,558 ▲12 | 23.56 ▲0.44 | 648.15 ▲21.33 | 57.68 ▼1.85 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.27 ▲0.04 | 95.52 ▼5.00 | 46.71 ▼0.26 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 7× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient/examples/large-file-upload.php
- > /wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient/examples/index.php
- > /wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient/examples/multi-api.php
- > /wp-content/plugins/quickblog-wp-blog-exporter/vendor/firebase/php-jwt/tests/bootstrap.php
- > /wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient/examples/url-shortener.php
- > /wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient/examples/simple-file-upload.php
- > /wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient/examples/idtoken.php
- 4095× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google\\Service\\Resource' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/CloudRun/Resource/ProjectsLocationsConfigurations.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/CloudBuild/WorkerConfig.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/Datastore/PropertyOrder.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/CloudIot/PublicKeyCertificate.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/Monitoring/Status.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/ServiceConsumerManagement/Service.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/Compute/RegionUrlMapsValidateRequest.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Service\\Resource' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/AdExperienceReport/Resource/ViolatingSites.php:30
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/Monitoring/QueryTimeSeriesRequest.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/quickblog-wp-blog-exporter/vendor/google/apiclient-services/src/CloudHealthcare/TagFilterList.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: quickblog, export, blog, google sheets
quickblog-wp-blog-exporter/quickblog-wp-blog-exporter.php 92% from 13 tests
"Quickblog WP Blog Exporter" version 1.4.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected755,503 lines of code in 15,371 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15,308 | 68,726 | 466,770 | 749,405 |
Markdown | 26 | 1,277 | 0 | 4,154 |
JSON | 18 | 0 | 0 | 1,311 |
XML | 6 | 29 | 42 | 236 |
YAML | 6 | 34 | 1 | 140 |
CSS | 1 | 17 | 14 | 86 |
Python | 1 | 22 | 25 | 72 |
JavaScript | 1 | 2 | 0 | 32 |
Bourne Shell | 1 | 3 | 4 | 31 |
make | 2 | 11 | 0 | 31 |
INI | 1 | 0 | 1 | 5 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 1.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 633.00 |
Average method complexity | 1.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 510 | |
Interfaces | 29 | |
Traits | 7 | |
Classes | 15,272 | |
▷ Abstract classes | 10 | 0.07% |
▷ Concrete classes | 15,262 | 99.93% |
▷ Final classes | 9 | 0.06% |
Methods | 103,315 | |
▷ Static methods | 149 | 0.14% |
▷ Public methods | 102,890 | 99.59% |
▷ Protected methods | 181 | 0.18% |
▷ Private methods | 244 | 0.24% |
Functions | 238 | |
▷ Named functions | 75 | 31.51% |
▷ Anonymous functions | 163 | 68.49% |
Constants | 830 | |
▷ Global constants | 26 | 3.13% |
▷ Class constants | 804 | 96.87% |
▷ Public constants | 804 | 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.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 32.59KB | 11.37KB | ▼ 65.12% |