Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.11ms] Passed 4 tests
This is a short check of server-side resources used by Creatus Extended
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.05 ▲0.71 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.20 ▲1.01 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.97 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 82.78 ▼7.41 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.89 ▼2.45 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Creatus Extended
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.54 ▼0.85 | 1.68 ▼0.27 | 43.50 ▲1.42 |
Dashboard /wp-admin | 2,206 ▲14 | 5.91 ▲0.96 | 108.45 ▼6.03 | 38.82 ▲0.11 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.18 | 40.45 ▲2.44 | 35.04 ▲4.76 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.59 ▼6.00 | 686.62 ▼79.87 | 58.30 ▼4.44 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▼0.05 | 95.47 ▼18.23 | 43.92 ▼3.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 7× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/creatus-extended/includes/builder-templates/init.php
- > /wp-content/plugins/creatus-extended/includes/widgets/thz-posts/class-widget-thz-posts.php
- > /wp-content/plugins/creatus-extended/includes/widgets/thz-flickr/class-widget-thz-flickr.php
- > /wp-content/plugins/creatus-extended/includes/builder-templates/class-thz-builder-templates.php
- > /wp-content/plugins/creatus-extended/includes/widgets/thz-twitter/class-widget-thz-twitter.php
- > /wp-content/plugins/creatus-extended/includes/builder-templates/views/sections.php
- > /wp-content/plugins/creatus-extended/includes/widgets/thz-instagram/class-widget-thz-instagram.php
- 2× 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/creatus-extended/includes/twitteroauth/twitteroauth.php:14
- > PHP Fatal error
Uncaught Error: Class 'Parsedown' not found in wp-content/plugins/creatus-extended/includes/parsedown/parsedownextra.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please describe screenshot #4 in creatus-extended/assets to your readme.txt
creatus-extended/creatus-extended.php Passed 13 tests
This is the main PHP file of "Creatus Extended" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
138 characters long description:
Creatus Extended adds demos installation utility, page builder template library and additional functionalities to Creatus WordPress Theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin5,322 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 1,520 | 967 | 4,581 |
CSS | 1 | 12 | 2 | 424 |
JavaScript | 2 | 110 | 6 | 317 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 20.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 2 | 8.70% |
▷ Concrete classes | 21 | 91.30% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 22 | 10.33% |
▷ Public methods | 126 | 59.15% |
▷ Protected methods | 64 | 30.05% |
▷ Private methods | 23 | 10.80% |
Functions | 33 | |
▷ Named functions | 32 | 96.97% |
▷ Anonymous functions | 1 | 3.03% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin