Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.30MB] [CPU: ▼149.22ms] Passed 4 tests
A check of server-side resources used by Slyd
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 34.56 ▲13.10 |
Dashboard /wp-admin | 3.11 ▲0.05 | 42.61 ▲2.87 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 43.93 ▼2.20 |
Add New Post /wp-admin/post-new.php | 4.09 ▼1.35 | 50.12 ▼599.35 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 34.81 ▲1.81 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Slyd
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲83 | 15.93 ▲0.39 | 7.29 ▼1.01 | 51.60 ▼0.11 |
Dashboard /wp-admin | 2,989 ▲55 | 5.95 ▲0.01 | 135.40 ▼5.02 | 105.13 ▼14.73 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.01 | 63.74 ▼10.96 | 88.69 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,712 ▲118 | 17.12 ▼1.77 | 359.24 ▼13.41 | 117.17 ▲7.01 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.01 | 150.60 ▲0.87 | 119.91 ▲4.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/slyd/slyd.php:400
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
slyd/slyd.php Passed 13 tests
The main file in "Slyd" v. 1.3.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
61 characters long description:
Slyd is an animated slider to display your latest blog posts.
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
Good job! No executable or dangerous file extensions detected578 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 69 | 285 |
JavaScript | 2 | 45 | 235 | 159 |
CSS | 1 | 0 | 0 | 134 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.10MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
previous.png | 49.70KB | 0.66KB | ▼ 98.68% |
next.png | 50.06KB | 0.64KB | ▼ 98.72% |