Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.95ms] Passed 4 tests
A check of server-side resources used by Archive Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 45.46 ▲6.03 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.14 ▼14.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.32 ▼2.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.81 ▼7.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.70 ▲0.34 |
Archive Page /wp-admin/plugins.php?page=alobaidi_archive_page_shortocodes | 3.20 | 31.53 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Archive Page
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.47 ▼0.12 | 1.78 ▼0.15 | 46.35 ▲4.18 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▼0.05 | 100.90 ▼11.08 | 40.43 ▼1.28 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.06 | 39.38 ▲1.99 | 35.40 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.16 ▼5.09 | 683.06 ▼2.11 | 63.18 ▲10.80 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.16 ▲0.04 | 96.23 ▼3.86 | 46.13 ▼0.37 |
Archive Page /wp-admin/plugins.php?page=alobaidi_archive_page_shortocodes | 835 | 2.02 | 27.49 | 31.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 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 50% 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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/archive-page/archive-page.php
- > /wp-content/plugins/archive-page/shortcodes-page.php
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 26 tag instead of maximum 10
archive-page/archive-page.php Passed 13 tests
The main file in "Archive Page" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
79 characters long description:
Make archive page easily with full customize and in all languages of the world.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin299 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 96 | 39 | 299 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 15 | |
▷ Named functions | 15 | 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
No PNG images were found in this plugin