Benchmarks
Plugin footprint 40% 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
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wikipedia-anniversaries/wiki-kalendarium.php+153
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼58.06ms] Passed 4 tests
An overview of server-side resources used by Wikipedia Anniversaries
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.01 ▼38.87 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.85 ▼58.75 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.85 ▼42.63 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.89 ▼91.98 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.50 ▼32.57 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_wiki_this_day |
Browser metrics Passed 4 tests
A check of browser resources used by Wikipedia Anniversaries
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.24 ▼0.03 | 1.94 ▼0.16 | 42.18 ▼2.97 |
Dashboard /wp-admin | 2,195 ▲15 | 5.65 ▲0.02 | 87.44 ▼11.53 | 39.30 ▼3.07 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.04 | 35.85 ▼5.60 | 34.53 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.12 ▼0.05 | 613.76 ▼40.49 | 52.80 ▼3.29 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▼0.01 | 104.43 ▼1.24 | 44.83 ▼0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wikipedia-anniversaries/wiki-kalendarium.php+153
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_wiki_this_day
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wikipedia-anniversaries/wiki-kalendarium.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: widget, wikipedia anniversaries, calendar, anniversaries, wikipedia...
wikipedia-anniversaries/wiki-kalendarium.php 92% from 13 tests
The entry point to "Wikipedia Anniversaries" version 1.2.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wikipedia-anniversaries.php" instead of "wiki-kalendarium.php")
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
No dangerous file extensions were detected168 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 27 | 17 | 163 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview 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.28 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
There were not PNG files found in your plugin