Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼319.51ms] Passed 4 tests
An overview of server-side resources used by Advanced Post Queries
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.03 | 57.34 ▼3.72 |
Dashboard /wp-admin | 3.43 ▲0.02 | 41.16 ▲1.71 |
Posts /wp-admin/edit.php | 3.67 ▲0.02 | 41.83 ▼2.57 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 95.28 ▼1,269.72 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 26.46 ▼2.02 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Post Queries
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲66 | 15.26 ▼0.35 | 6.69 ▲0.77 | 2.16 ▼0.05 |
Dashboard /wp-admin | 2,909 ▲48 | 6.02 ▼0.15 | 122.71 ▼29.26 | 153.50 ▼11.87 |
Posts /wp-admin/edit.php | 2,710 ▲22 | 3.25 ▲0.02 | 62.90 ▲1.22 | 135.30 ▼44.48 |
Add New Post /wp-admin/post-new.php | 1,678 ▲17 | 15.98 ▼1.24 | 433.18 ▲24.38 | 167.07 ▲7.89 |
Media Library /wp-admin/upload.php | 1,719 ▲21 | 5.50 ▲0.01 | 144.83 ▲0.27 | 183.83 ▼3.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: dynamic query, posts, elementor, dynamic queries, advanced query...
advanced-post-queries/advanced-post-queries.php Passed 13 tests
"Advanced Post Queries" version 1.0.15's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
96 characters long description:
An Elementor extension that gives you more options for quering your posts widget without coding.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin712 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 147 | 159 | 712 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 19 | |
▷ Static methods | 4 | 21.05% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin