Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.53ms] Passed 4 tests
Server-side resources used by Slidee - Simple and fast SEO friendly slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.30 ▼2.20 |
Dashboard /wp-admin | 3.43 ▲0.08 | 54.09 ▼2.16 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.69 ▲9.85 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.08 ▼0.05 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 34.93 ▲2.27 |
Add slider /wp-admin/post-new.php?post_type=slidee_slider | 3.39 | 45.08 |
Slidee /wp-admin/edit.php?post_type=slidee_slider | 3.38 | 39.51 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Slidee - Simple and fast SEO friendly slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,019 ▲258 | 16.21 ▲1.86 | 2.24 ▲0.57 | 43.53 ▲1.82 |
Dashboard /wp-admin | 2,390 ▲210 | 7.11 ▲1.51 | 134.26 ▲42.80 | 38.75 ▼2.80 |
Posts /wp-admin/edit.php | 2,473 ▲373 | 4.75 ▲2.74 | 67.98 ▲35.41 | 39.05 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 23.39 ▲0.39 | 667.04 ▼7.90 | 37.16 ▼18.78 |
Media Library /wp-admin/upload.php | 1,614 ▲217 | 5.15 ▲0.97 | 92.34 ▼7.50 | 41.44 ▼5.76 |
Add slider /wp-admin/post-new.php?post_type=slidee_slider | 2,272 | 7.27 | 156.56 | 70.08 |
Slidee /wp-admin/edit.php?post_type=slidee_slider | 1,437 | 4.74 | 53.06 | 26.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/slidee/views/settings.php
- > /wp-content/plugins/slidee/views/slider.php
- 56× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slidee/inc/initializer.php:13
- > PHP Notice
Undefined variable: slidee in wp-content/plugins/slidee/views/settings.php on line 42
- > PHP Notice
Trying to get property 'settings' of non-object in wp-content/plugins/slidee/views/slider.php on line 69
- > PHP Notice
Undefined variable: slidee in wp-content/plugins/slidee/views/settings.php on line 20
- > PHP Notice
Undefined variable: slidee in wp-content/plugins/slidee/views/settings.php on line 51
- > PHP Notice
Undefined variable: slidee in wp-content/plugins/slidee/views/settings.php on line 34
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/slidee/views/settings.php on line 20
- > PHP Notice
Trying to get property 'id' of non-object in wp-content/plugins/slidee/views/slider.php on line 68
- > PHP Notice
Trying to get property 'settings' of non-object in wp-content/plugins/slidee/views/settings.php on line 58
- > PHP Notice
Trying to get property 'settings' of non-object in wp-content/plugins/slidee/views/settings.php on line 51
- > 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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: flexible-slider, lightweight slider, slidee, animate slider, fast slider...
slidee/slidee.php Passed 13 tests
The main file in "Slidee - Simple and fast SEO friendly slider" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
57 characters long description:
Fast and minimalistic SEO friendly slider with pure code.
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
No dangerous file extensions were detected532 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 77 | 12 | 432 |
SVG | 2 | 0 | 2 | 96 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 50.00% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected