Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.72ms] Passed 4 tests
Analyzing server-side resources used by AC Custom Loop Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.16 ▲1.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.15 ▲2.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.46 ▼2.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.96 ▼28.71 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.42 ▼0.94 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AC Custom Loop Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.37 ▼1.32 | 1.85 ▲0.23 | 45.75 ▲4.71 |
Dashboard /wp-admin | 2,203 ▲12 | 5.86 ▲0.95 | 104.65 ▲5.73 | 42.59 ▼1.94 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 33.39 ▼7.86 | 33.62 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.83 ▼0.40 | 632.35 ▲22.33 | 57.03 ▲2.77 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.24 ▲0.04 | 95.31 ▼7.99 | 39.84 ▼4.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ac-custom-loop-shortcode/ac-wp-custom-loop-sc.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/ac-custom-loop-shortcode/loop-template.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Add the code to any content area that accepts shortcode.), #2 (Posts, Pages or Custom post types are shown on the front end of your website.)
ac-custom-loop-shortcode/ac-wp-custom-loop-sc.php 69% from 13 tests
"AC Custom Loop Shortcode" version 1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/lang/")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ac-custom-loop-shortcode.php" instead of "ac-wp-custom-loop-sc.php")
- Description: The description should be shorter than 140 characters (currently 233 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected244 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 46 | 32 | 182 |
Twig | 3 | 2 | 4 | 35 |
CSS | 1 | 4 | 0 | 25 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin