Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.44ms] Passed 4 tests
An overview of server-side resources used by Custom Content Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.45 ▲2.78 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.16 ▼4.43 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 43.05 ▼3.90 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 81.59 ▼4.19 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.96 ▲4.59 |
Add New /wp-admin/post-new.php?post_type=content-elementor | 3.41 | 47.74 |
Custom Contents /wp-admin/edit.php?post_type=content-elementor | 3.33 | 36.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Content Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.37 ▼0.27 | 1.71 ▲0.04 | 38.57 ▼9.61 |
Dashboard /wp-admin | 2,224 ▲44 | 5.59 ▼0.08 | 83.85 ▼3.58 | 80.52 ▲43.52 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.98 ▼0.04 | 34.63 ▼0.91 | 31.85 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 22.85 ▲0.08 | 741.82 ▲76.41 | 55.83 ▼0.24 |
Media Library /wp-admin/upload.php | 1,429 ▲35 | 4.11 ▼0.15 | 97.15 ▼10.75 | 64.84 ▲18.13 |
Add New /wp-admin/post-new.php?post_type=content-elementor | 2,219 | 7.70 | 162.05 | 131.37 |
Custom Contents /wp-admin/edit.php?post_type=content-elementor | 1,094 | 1.93 | 32.59 | 28.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/custom-content-elementor/widgets/custom-content-widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-content-elementor/inc/custom-content-cpt-register.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #3 (screenshot-3.jpg is the vc module setting area.) image required
custom-content-elementor/custom-content-elementor.php 92% from 13 tests
The main PHP script in "Custom Content Elementor" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 197 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin248 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 71 | 48 | 245 |
CSS | 1 | 0 | 0 | 3 |
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.18 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 3 | 17.65% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/module-icon.png | 2.20KB | 1.13KB | ▼ 48.56% |
assets/images/menuicon.png | 1.29KB | 0.67KB | ▼ 48.30% |