Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.43ms] Passed 4 tests
This is a short check of server-side resources used by Side Matter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 41.36 ▼1.50 |
Dashboard /wp-admin | 3.46 ▲0.15 | 47.99 ▲0.68 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 45.98 ▲3.44 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 83.93 ▼8.15 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.93 ▼0.75 |
Side Matter /wp-admin/themes.php?page=side-matter | 3.49 | 32.39 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_side-matter |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Side Matter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲93 | 13.42 ▼1.18 | 1.70 ▲0.12 | 43.39 ▲3.76 |
Dashboard /wp-admin | 2,234 ▲43 | 5.02 ▲0.14 | 114.44 ▲11.29 | 46.08 ▲1.35 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.33 ▲0.31 | 36.82 ▲1.54 | 32.09 ▼1.63 |
Add New Post /wp-admin/post-new.php | 1,374 ▼146 | 16.65 ▼6.61 | 571.34 ▼112.30 | 28.95 ▼27.16 |
Media Library /wp-admin/upload.php | 1,410 ▲28 | 4.52 ▲0.29 | 99.27 ▼5.96 | 41.41 ▼2.95 |
Side Matter /wp-admin/themes.php?page=side-matter | 1,189 | 2.25 | 45.53 | 50.04 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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
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
The following issues need your attention
- 1× 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/side-matter/side-matter.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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 need to be fixed:
- Tags: You are using too many tags: 30 tag instead of maximum 10
side-matter/side-matter.php Passed 13 tests
Analyzing the main PHP file in "Side Matter" version 1.4
124 characters long description:
Turns footnotes into sidenotes, magically aligning each note in the sidebar next to its corresponding reference in the text.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin679 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 87 | 33 | 479 |
JavaScript | 2 | 33 | 20 | 135 |
CSS | 2 | 17 | 20 | 65 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin