Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼1.11MB] [CPU: ▲795.51ms] 75% from 4 tests
An overview of server-side resources used by Content-as-a-Service
Please have a look at the following items
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 795.51ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.11 | 53.92 ▲0.44 |
Dashboard /wp-admin | 3.22 ▼0.19 | 1,521.32 ▲1,487.27 |
Posts /wp-admin/edit.php | 3.22 ▼0.43 | 1,556.65 ▲1,519.75 |
Add New Post /wp-admin/post-new.php | 3.22 ▼3.76 | 1,494.70 ▲214.37 |
Media Library /wp-admin/upload.php | 3.22 ▼0.08 | 1,503.42 ▲1,479.96 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Content-as-a-Service: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,839 ▲85 | 15.98 ▲0.20 | 6.97 ▲0.68 | 1.92 ▼0.70 |
Dashboard /wp-admin | 2,939 ▲88 | 6.20 ▲0.05 | 125.78 ▼10.43 | 163.76 ▲8.95 |
Posts /wp-admin/edit.php | 2,800 ▲109 | 3.37 ▼0.00 | 65.07 ▲0.42 | 138.87 ▼5.80 |
Add New Post /wp-admin/post-new.php | 1,791 ▲123 | 21.28 ▲3.19 | 424.48 ▼3.44 | 161.84 ▲6.09 |
Media Library /wp-admin/upload.php | 1,753 ▲58 | 5.56 ▲0.02 | 148.29 ▲15.05 | 187.91 ▲6.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5600
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 your attention:
- Tags: There are too many tags (51 tag instead of maximum 10)
- Screenshots: Please add descriptions for these screenshots #2, #3 in easy-content/assets to your readme.txt
easy-content/easy-content-install.php 92% from 13 tests
The principal PHP file in "Content-as-a-Service" v. 2.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-content.php" instead of "easy-content-install.php")
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,033 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 25 | 16 | 527 |
PHP | 2 | 14 | 25 | 505 |
CSS | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected