Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼298.05ms] Passed 4 tests
An overview of server-side resources used by Binge Reading Archive Page Template
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.07 ▲10.20 |
Dashboard /wp-admin | 3.06 ▲0.01 | 40.99 ▼4.39 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 44.90 ▲2.15 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 87.46 ▼1,181.95 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 31.37 ▼8.00 |
Binge Reading Archive Page /wp-admin/options-general.php?page=all-posts-archive-page | 2.98 | 26.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Binge Reading Archive Page Template
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,654 ▲48 | 15.92 ▲0.50 | 8.92 ▲0.10 | 40.41 ▼11.59 |
Dashboard /wp-admin | 2,932 ▲82 | 5.96 ▲0.18 | 138.07 ▲6.37 | 105.28 ▲3.06 |
Posts /wp-admin/edit.php | 2,711 ▲5 | 2.70 ▲0.01 | 64.73 ▼4.11 | 93.60 ▲7.91 |
Add New Post /wp-admin/post-new.php | 1,656 ▲175 | 18.78 ▲0.33 | 354.30 ▲3.01 | 106.20 ▼1.28 |
Media Library /wp-admin/upload.php | 1,780 ▲8 | 4.98 ▼0.02 | 153.15 ▲7.16 | 113.09 ▲1.97 |
Binge Reading Archive Page /wp-admin/options-general.php?page=all-posts-archive-page | 1,292 | 6.01 | 147.33 | 95.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
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
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/all-posts-archive-page/all-posts-archive-page.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/all-posts-archive-page/binge-reading.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: genesis, archive page, archive, page template
all-posts-archive-page/all-posts-archive-page.php Passed 13 tests
The main PHP script in "Binge Reading Archive Page Template" version 0.3 is automatically included on every request by WordPress
121 characters long description:
A plugin to create an "all posts since this site started by month" page. Optimized for sites using the Genesis Framework.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin107 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 42 | 64 | 107 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 4 | |
▷ Named functions | 4 | 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 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin