Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Parse error in wp-content/plugins/archive-ajax/archive-ajax.php+161
syntax error, unexpected 'endforeach' (T_ENDFOREACH), expecting function (T_FUNCTION) or const (T_CONST)
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.21ms] Passed 4 tests
Server-side resources used by AJAX Archive for WP Themes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.13 ▲1.99 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.45 ▼9.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.39 ▼5.41 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.71 ▼11.44 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.75 ▲1.99 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AJAX Archive for WP Themes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.02 | 1.74 ▲0.16 | 37.87 ▼1.88 |
Dashboard /wp-admin | 2,192 ▲31 | 5.53 ▼0.14 | 88.49 ▼11.23 | 41.83 ▼0.39 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▼0.02 | 35.75 ▼2.52 | 33.46 ▼4.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼1 | 23.59 ▲0.36 | 706.54 ▲85.64 | 53.27 ▼1.15 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▼0.00 | 97.53 ▼21.16 | 42.75 ▼6.82 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected 'endforeach' (T_ENDFOREACH), expecting function (T_FUNCTION) or const (T_CONST) in wp-content/plugins/archive-ajax/archive-ajax.php on line 161
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (An example of the final result after activating the plugin.), #2 (Transition 1), #3 (Transition 2)
- Tested up to: Version not formatted correctly
archive-ajax/archive-ajax.php Passed 13 tests
The primary PHP file in "AJAX Archive for WP Themes" version 0.1 is used by WordPress to initiate all plugin functionality
38 characters long description:
A way to show large archives by month.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected150 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 27 | 138 |
CSS | 1 | 3 | 0 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 18.46KB | 6.14KB | ▼ 66.71% |
screenshot-2.png | 18.26KB | 5.94KB | ▼ 67.48% |