Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼143.38ms] Passed 4 tests
Server-side resources used by Tidings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 30.39 ▲9.09 |
Dashboard /wp-admin | 3.09 ▲0.04 | 43.69 ▼5.02 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 43.93 ▼3.70 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 90.79 ▼563.05 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 35.27 ▼1.73 |
Tidings /wp-admin/options-general.php?page=tidings-settings | 3.01 | 28.84 |
Server storage [IO: ▲0.05MB] [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: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Tidings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,686 ▲90 | 15.90 ▲0.20 | 7.83 ▼1.20 | 50.74 ▲2.60 |
Dashboard /wp-admin | 2,978 ▲48 | 5.94 ▲0.01 | 134.70 ▼9.37 | 110.71 ▼1.06 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.01 | 67.17 ▲2.91 | 92.92 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,618 ▼2,032 | 21.39 ▲6.45 | 269.21 ▼159.78 | 102.23 ▼4.98 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.03 ▼0.11 | 148.55 ▼7.19 | 121.86 ▼6.54 |
Tidings /wp-admin/options-general.php?page=tidings-settings | 1,349 | 2.09 | 61.80 | 102.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/tidings/tidings.php:12
- > PHP Fatal 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== tidings ===
)
tidings/tidings.php Passed 13 tests
The primary PHP file in "Tidings" version 1.0.3 is used by WordPress to initiate all plugin functionality
81 characters long description:
Connect with your tidings.com account and create posts based on your newsletters.
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
There were no executable files found in this plugin890 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 173 | 188 | 848 |
CSS | 1 | 4 | 2 | 26 |
Markdown | 1 | 9 | 0 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 13 | 26.53% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected