Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.53ms] Passed 4 tests
Analyzing server-side resources used by Simple Yearly Archive
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 33.72 ▼0.39 |
Dashboard /wp-admin | 3.44 ▲0.13 | 45.93 ▲1.38 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.53 ▼2.24 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 91.57 ▼0.86 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.20 ▲6.25 |
Simple Yearly Archive /wp-admin/options-general.php?page=simple-yearly-archive | 3.39 | 43.27 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Yearly Archive
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.30 ▼0.05 | 1.61 ▲0.06 | 43.09 ▲3.91 |
Dashboard /wp-admin | 2,212 ▲35 | 5.54 ▼0.13 | 81.33 ▼4.97 | 41.30 ▼3.67 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.10 ▲0.10 | 33.79 ▼2.01 | 31.62 ▼3.90 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 18.14 ▼5.01 | 604.73 ▼60.57 | 60.43 ▲6.01 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.23 ▲0.02 | 93.67 ▼13.02 | 43.63 ▼1.66 |
Simple Yearly Archive /wp-admin/options-general.php?page=simple-yearly-archive | 1,330 | 1.86 | 25.24 | 49.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php:659
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-yearly-archive/admin/views/admin.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-yearly-archive/admin/authorplugins.inc.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
simple-yearly-archive/simple-yearly-archive.php Passed 13 tests
The primary PHP file in "Simple Yearly Archive" version 2.2.2 is used by WordPress to initiate all plugin functionality
45 characters long description:
A simple, clean yearly list of your archives.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected2,070 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 12 | 430 | 555 | 1,123 |
PHP | 5 | 122 | 288 | 857 |
CSS | 1 | 13 | 0 | 75 |
JavaScript | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.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 | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 28 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.50% |
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 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