Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.19MB] [CPU: ▼19.91ms] Passed 4 tests
Server-side resources used by Betaout ContentCloud
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.03 | 26.87 ▼20.02 |
Dashboard /wp-admin | 3.11 ▼0.20 | 34.97 ▼17.74 |
Posts /wp-admin/edit.php | 3.25 ▼0.11 | 36.99 ▼17.53 |
Add New Post /wp-admin/post-new.php | 5.49 ▼0.40 | 70.41 ▼24.36 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 34.57 ▼3.98 |
Server storage [IO: ▲2.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Betaout ContentCloud
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.72 ▲0.73 | 1.73 ▼0.08 | 42.39 ▼4.38 |
Dashboard /wp-admin | 2,209 ▲32 | 5.52 ▼0.16 | 87.40 ▼33.83 | 66.51 ▲14.34 |
Posts /wp-admin/edit.php | 2,120 ▲17 | 1.98 ▲0.01 | 40.14 ▼3.33 | 41.86 ▲3.41 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 23.14 ▼0.00 | 761.75 ▲141.78 | 64.64 ▲5.86 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.12 ▼0.05 | 114.76 ▲7.09 | 80.37 ▲34.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/betaout/contentcloud.php+136
Use of undefined constant self - assumed 'self' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/betaout/push-pull.php
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
include_once(): Failed opening 'ABSPATH/WPINC/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/betaout/index.php on line 13
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/betaout/index.php on line 13
- > PHP Warning
include_once(ABSPATH/WPINC/admin-bar.php): failed to open stream: No such file or directory in wp-content/plugins/betaout/index.php on line 14
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/betaout/index.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/betaout/configuration.php:3
- > PHP Warning
include_once(ABSPATH/WPINC/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/betaout/index.php on line 13
- > PHP Warning
include_once(): Failed opening 'ABSPATH/WPINC/admin-bar.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/betaout/index.php on line 14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/betaout/index.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/betaout/index.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/betaout/index.php:126
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== betaout ===
) - Screenshots: These screenshots require images: #1 (**EDITOR's DASHBOARD** -The dashboard that gets you in control of every single story being worked on by your editorial team.), #2 (**My Tasks** - Keep track of what you need to do. Now and Later.), #3 (**Editorial Calendar** - Plan your content startegy visually.), #4 (**Idearoom** - Brainstrom ideas with you team before converting them is assignment.), #5 (**Rich Text Editor** - Text editor made for collaboration.), #6 (**User Insights** -A single page to give real-time insights for every team members.)
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
betaout/index.php 92% from 13 tests
The main file in "Betaout ContentCloud" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("betaout.php" instead of "index.php")
Code Analysis Passed 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 detected933 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 108 | 30 | 540 |
CSS | 1 | 55 | 1 | 393 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 19 | |
▷ Static methods | 15 | 78.95% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.26% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.34MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/desks.png | 0.23KB | 0.25KB | 0.00% |
screenshot-6.png | 207.90KB | 65.00KB | ▼ 68.74% |
images/cloudSmall.png | 4.22KB | 2.16KB | ▼ 48.85% |
images/story.png | 0.91KB | 0.97KB | 0.00% |
images/closeIcon.png | 1.13KB | 1.17KB | 0.00% |