Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/archive-akkordion/admin/class-archive-akkordion-admin.php+117
Methods with the same name as their class will not be constructors in a future version of PHP; IL_Archive_Akkordion has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼51.82ms] Passed 4 tests
This is a short check of server-side resources used by Archive Akkordion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.34 | 6.18 ▼38.36 |
Dashboard /wp-admin | 2.15 ▼1.16 | 6.36 ▼40.40 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 6.85 ▼43.58 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 5.34 ▼84.92 |
Media Library /wp-admin/upload.php | 2.15 ▼1.09 | 6.02 ▼27.50 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_widget-archive-akkordion |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Archive Akkordion
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲152 | 13.59 ▼1.00 | 6.68 ▲4.82 | 40.66 ▼4.55 |
Dashboard /wp-admin | 2,207 ▲16 | 4.85 ▼0.04 | 103.38 ▼0.22 | 43.75 ▲1.08 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.13 ▲0.04 | 40.01 ▼3.02 | 32.84 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,519 ▲5 | 23.18 ▲5.66 | 600.19 ▼63.70 | 56.75 ▲3.36 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.07 | 95.99 ▼4.47 | 41.99 ▼3.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/archive-akkordion/admin/class-archive-akkordion-admin.php+117
Methods with the same name as their class will not be constructors in a future version of PHP; IL_Archive_Akkordion has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_widget-archive-akkordion
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/archive-akkordion/public/partials/archive-akkordion-public-display.php
- > /wp-content/plugins/archive-akkordion/admin/partials/archive-akkordion-admin-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/archive-akkordion/admin/class-archive-akkordion-admin.php:117
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== archive-akkordion ===
) - Screenshots: Screenshot #1 (Archive Akkordion settings and customizations.) image missing
archive-akkordion/archive-akkordion.php Passed 13 tests
The primary PHP file in "Archive Akkordion" version 1.0.0 is used by WordPress to initiate all plugin functionality
65 characters long description:
A simple archive widget with a custom layout and accordion style.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin304 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 159 | 561 | 283 |
JavaScript | 2 | 5 | 32 | 14 |
CSS | 2 | 2 | 7 | 7 |
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.20 |
Average class complexity | 4.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 139.46KB | 50.16KB | ▼ 64.03% |