Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼6.92ms] Passed 4 tests
Server-side resources used by contentbird CMS Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 52.44 ▲5.82 |
Dashboard /wp-admin | 3.52 ▲0.17 | 51.21 ▼17.67 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.15 ▼5.79 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 88.48 ▼8.91 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 42.64 ▲4.70 |
contentbird CMS Integration /wp-admin/options-general.php?page=contentbird | 3.35 | 34.50 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/contentbird-cms-integration/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for contentbird CMS Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲122 | 13.51 ▼0.87 | 2.08 ▲0.06 | 42.56 ▼9.79 |
Dashboard /wp-admin | 2,249 ▲46 | 4.87 ▼0.03 | 103.99 ▼3.45 | 38.73 ▼4.79 |
Posts /wp-admin/edit.php | 2,132 ▲29 | 2.03 ▼0.01 | 38.96 ▼0.72 | 34.23 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,561 ▲7 | 23.35 ▲5.13 | 621.37 ▼45.00 | 60.85 ▲5.19 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.21 ▼0.03 | 97.39 ▼10.84 | 45.57 ▼3.84 |
contentbird CMS Integration /wp-admin/options-general.php?page=contentbird | 803 | 2.01 | 26.00 | 29.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/contentbird-cms-integration/admin/views/contentbird-messages.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/contentbird-cms-integration/admin/views/contentbird-options.php:17
- > PHP Notice
Undefined variable: form_send in wp-content/plugins/contentbird-cms-integration/admin/views/contentbird-options.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Contentbird_Api_Contents' not found in wp-content/plugins/contentbird-cms-integration/includes/api/class-contentbird-api-contents-create.php:6
- > PHP Fatal error
Uncaught Error: Class 'Contentbird_Api_Contents' not found in wp-content/plugins/contentbird-cms-integration/includes/api/class-contentbird-api-contents-update.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: content marketing, content, marketing, contentbird
contentbird-cms-integration/contentbird.php 62% from 13 tests
The principal PHP file in "contentbird CMS Integration" v. 1.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("contentbird-cms-integration.php" instead of "contentbird.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path must begin with a forward slash character ("/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
No dangerous file extensions were detected1,056 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 228 | 479 | 971 |
PO File | 1 | 20 | 35 | 74 |
CSS | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 3 | 4.62% |
▷ Public methods | 42 | 64.62% |
▷ Protected methods | 14 | 21.54% |
▷ Private methods | 9 | 13.85% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 42 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 42 | 100.00% |
▷ Public constants | 42 | 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
There are no PNG files in this plugin