Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/rimplates/admin/class-admin-template-settings.php+9
Undefined index: rimplenettransaction_type
Server metrics [RAM: ▼1.82MB] [CPU: ▼56.41ms] Passed 4 tests
A check of server-side resources used by Rimplates
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 5.62 ▼36.77 |
Dashboard /wp-admin | 2.19 ▼1.15 | 7.09 ▼58.38 |
Posts /wp-admin/edit.php | 2.19 ▼1.16 | 6.60 ▼45.31 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.69 | 7.65 ▼85.19 |
Media Library /wp-admin/upload.php | 2.19 ▼1.03 | 7.59 ▼28.59 |
All - Rimplates Template /wp-admin/edit.php?post_type=rimplates | 2.20 | 6.46 |
Add New /wp-admin/post-new.php?post_type=rimplates | 2.20 | 7.15 |
Server storage [IO: ▲2.52MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Rimplates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲199 | 13.54 ▼0.76 | 9.24 ▲7.47 | 46.40 ▲2.39 |
Dashboard /wp-admin | 2,262 ▲59 | 5.88 ▼0.02 | 102.14 ▼4.78 | 37.25 ▼4.50 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.04 ▲0.05 | 36.00 ▼4.17 | 37.51 ▲1.05 |
Add New Post /wp-admin/post-new.php | 1,564 ▲19 | 23.32 ▲0.25 | 619.31 ▼31.62 | 49.99 ▼0.82 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.27 ▲0.02 | 103.60 ▼0.27 | 43.43 ▼6.26 |
All - Rimplates Template /wp-admin/edit.php?post_type=rimplates | 1,150 | 1.94 | 30.40 | 32.45 |
Add New /wp-admin/post-new.php?post_type=rimplates | 2,962 | 7.86 | 175.78 | 78.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/rimplates/admin/class-admin-template-settings.php+9
Undefined index: rimplenettransaction_type
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=rimplates
- > Notice in wp-content/plugins/rimplates/admin/class-admin-template-settings.php+9
Undefined index: rimplenettransaction_type
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=rimplates
- > Notice in wp-content/plugins/rimplates/admin/class-admin-template-settings.php+10
Undefined index: post
- > GET request to /wp-admin/post-new.php?post_type=rimplates
- > Notice in wp-content/plugins/rimplates/admin/class-admin-template-settings.php+132
Undefined index: rimplates_template
- > GET request to /wp-admin/post-new.php?post_type=rimplates
- > Notice in wp-content/plugins/rimplates/admin/class-admin-template-settings.php+48
Undefined variable: template_post_id
SRP 0% 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
Please take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/rimplates/public/partials/rimplates-public-display.php
- > /wp-content/plugins/rimplates/includes/page-templates/template-single-product.php
- > /wp-content/plugins/rimplates/admin/partials/rimplates-admin-display.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Rimplates_PostType\\add_action() in wp-content/plugins/rimplates/includes/class-cpt.php:128
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rimplates/admin/class-admin-sidebar-menu-settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/rimplates/public/templates/default/sidebar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/rimplates/includes/page-templates/template-blank-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rimplates/public/templates/default/functions.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/rimplates/public/templates/default/footer.php:3
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/rimplates/admin/partials/metabox-template-settings.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rimplates/includes/page-templates/class-init-page-template.php:176
- > PHP Notice
Undefined variable: meta_id in wp-content/plugins/rimplates/admin/partials/metabox-template-settings.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/rimplates/admin/partials/metabox-template-settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
rimplates/rimplates.php 92% from 13 tests
The entry point to "Rimplates" version 1.0.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 421 characters long)
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
No dangerous file extensions were detected20,850 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 2,608 | 279 | 14,003 |
JavaScript | 18 | 694 | 771 | 3,033 |
SVG | 3 | 0 | 12 | 2,829 |
PHP | 26 | 429 | 727 | 985 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 3 | 5.77% |
▷ Public methods | 46 | 88.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 11.54% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected