Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/further-reading/wp-further-reading.php+35
Methods with the same name as their class will not be constructors in a future version of PHP; wpfurtherreading has a deprecated constructor
Server metrics [RAM: ▼0.70MB] [CPU: ▼22.89ms] Passed 4 tests
A check of server-side resources used by Further Reading
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.03 | 35.55 ▼7.52 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.35 ▼12.95 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.43 ▲0.58 |
Add New Post /wp-admin/post-new.php | 3.11 ▼2.78 | 35.19 ▼68.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.62 ▼2.29 |
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, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Further Reading: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 13.91 ▼0.74 | 9.75 ▲8.02 | 42.46 ▼3.47 |
Dashboard /wp-admin | 2,209 ▲32 | 5.68 ▲0.04 | 92.02 ▼0.34 | 39.84 ▲0.44 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.03 ▲0.02 | 38.81 ▲2.08 | 37.20 ▲1.24 |
Add New Post /wp-admin/post-new.php | 6,318 ▲4,778 | 25.98 ▲2.69 | 919.66 ▲290.86 | 64.52 ▲12.99 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.27 ▲0.06 | 96.04 ▼12.08 | 46.06 ▼0.60 |
Further Reading /wp-admin/wp-further-reading.php | 26 | 0.44 | 0.07 | 14.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/further-reading/wp-further-reading.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/wp-further-reading.php
- > Network (severe)
wp-admin/wp-further-reading.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
further-reading/wp-further-reading.php 92% from 13 tests
The main file in "Further Reading" v. 15.1.29 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("further-reading.php" instead of "wp-further-reading.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin265 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 26 | 180 |
JavaScript | 2 | 2 | 0 | 51 |
CSS | 2 | 5 | 0 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin