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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.85ms] Passed 4 tests
Server-side resources used by Custom Archives
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.07 | 46.13 ▲0.18 |
Dashboard /wp-admin | 3.63 ▲0.07 | 51.15 ▼1.39 |
Posts /wp-admin/edit.php | 3.74 ▲0.06 | 51.61 ▼2.63 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.06 | 91.76 ▼17.93 |
Media Library /wp-admin/upload.php | 3.55 ▲0.06 | 39.63 ▼1.45 |
Archives /wp-admin/options-general.php?page=custom-archives | 3.52 | 33.85 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Custom Archives: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲22 | 14.70 ▲0.16 | 2.25 ▲0.44 | 42.80 ▼0.16 |
Dashboard /wp-admin | 2,196 ▲25 | 5.66 ▲0.00 | 91.10 ▼0.67 | 44.22 ▲2.32 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.03 ▲0.03 | 40.16 ▲3.01 | 36.87 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,558 ▲9 | 18.61 ▼4.48 | 625.83 ▼60.13 | 51.28 ▼3.35 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.19 ▼0.04 | 107.13 ▲2.57 | 41.64 ▼3.65 |
Archives /wp-admin/options-general.php?page=custom-archives | 768 | 2.02 | 24.45 | 26.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: post type, archive, page, template, custom
custom-archives/custom-archives.php Passed 13 tests
This is the main PHP file of "Custom Archives" version 3.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
Select a page to be a custom archive for your post types.
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
Success! There were no dangerous files found in this plugin423 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 202 | 281 | 280 |
Markdown | 2 | 89 | 0 | 143 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 49.00 |
▷ Minimum class complexity | 49.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 19 | |
▷ Static methods | 18 | 94.74% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected