Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.79ms] Passed 4 tests
Analyzing server-side resources used by Annual Archive
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.61 ▼1.28 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.61 ▼1.06 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.14 ▼0.73 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.33 ▼12.10 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.41 ▼0.14 |
Annual Archive /wp-admin/options-general.php?page=annual-archive-optons | 3.22 | 29.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_annual_archive_widget |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Annual Archive
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.27 ▼0.47 | 1.93 ▲0.26 | 40.12 ▼0.06 |
Dashboard /wp-admin | 2,199 ▲21 | 5.58 ▼0.00 | 88.80 ▼17.13 | 40.69 ▲2.33 |
Posts /wp-admin/edit.php | 2,083 ▼20 | 2.01 ▲0.01 | 40.49 ▲0.48 | 35.79 ▼2.22 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.26 ▲0.22 | 629.85 ▲15.09 | 58.85 ▲1.29 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.26 ▲0.06 | 97.02 ▼5.41 | 42.86 ▼0.29 |
Annual Archive /wp-admin/options-general.php?page=annual-archive-optons | 943 | 2.00 | 25.03 | 26.47 |
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: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_annual_archive_widget
- theysaidso_admin_options
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/anual-archive/annual_archive.php:601
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6, #7 in anual-archive/assets to your readme.txt
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
anual-archive/annual_archive.php 92% from 13 tests
The main PHP file in "Annual Archive" ver. 1.6.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("anual-archive.php" instead of "annual_archive.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected710 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 77 | 100 | 659 |
Markdown | 1 | 13 | 0 | 37 |
JavaScript | 1 | 1 | 27 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 61.50 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 7.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin