Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.38ms] Passed 4 tests
This is a short check of server-side resources used by SJ Cornerstone Addon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.50 ▲2.56 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.13 ▼0.12 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.26 ▼4.56 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.87 ▼15.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.01 ▲2.68 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for SJ Cornerstone Addon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲5 | 14.22 ▼0.12 | 1.57 ▼0.32 | 42.25 ▲0.48 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▲0.05 | 86.43 ▼3.90 | 36.86 ▼7.68 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▲0.03 | 38.77 ▼2.58 | 35.52 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.31 ▲0.23 | 682.80 ▲43.98 | 60.73 ▼3.39 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.12 ▼0.06 | 106.56 ▲12.31 | 45.01 ▲3.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/sj-cornerstone-addon/shortcodes/sjc-svg-separator/shortcode.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sj-cornerstone-addon/sj-cornerstone-addon.php:10
- > PHP Notice
Undefined variable: orientation in wp-content/plugins/sj-cornerstone-addon/shortcodes/sjc-svg-separator/shortcode.php on line 7
- > PHP Notice
Undefined variable: enable_top_separator in wp-content/plugins/sj-cornerstone-addon/shortcodes/sjc-svg-separator/shortcode.php on line 32
- > PHP Notice
Undefined variable: class in wp-content/plugins/sj-cornerstone-addon/shortcodes/sjc-svg-separator/shortcode.php on line 7
- > PHP Notice
Undefined variable: enable_bottom_separator in wp-content/plugins/sj-cornerstone-addon/shortcodes/sjc-svg-separator/shortcode.php on line 104
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sj-cornerstone-addon/shortcodes/sjc-svg-separator/controls.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sj-cornerstone-addon/includes/register-elements.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: svg separator, cornerstone page builder, cornerstone addon, row separator
sj-cornerstone-addon/sj-cornerstone-addon.php Passed 13 tests
Analyzing the main PHP file in "SJ Cornerstone Addon" version 0.1.0
114 characters long description:
SJ Cornerstone addon pack which include Separator. SVG separator which will add fantastic style to row and column.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected600 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 56 | 36 | 335 |
CSS | 1 | 40 | 100 | 243 |
SVG | 1 | 5 | 0 | 22 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 1.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin