Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼1.14MB] [CPU: ▼41.95ms] Passed 4 tests
An overview of server-side resources used by SlideshowFx
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.63 | 17.02 ▼27.32 |
Dashboard /wp-admin | 2.87 ▼0.43 | 16.78 ▼32.55 |
Posts /wp-admin/edit.php | 2.87 ▼0.48 | 17.13 ▼28.89 |
Add New Post /wp-admin/post-new.php | 2.87 ▼3.01 | 17.03 ▼79.04 |
Media Library /wp-admin/upload.php | 2.87 ▼0.36 | 16.71 ▼19.02 |
SlideshowFx /wp-admin/options-general.php?page=sfx | 2.87 | 17.16 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for SlideshowFx
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲157 | 13.66 ▼0.92 | 5.71 ▲3.69 | 44.06 ▼7.25 |
Dashboard /wp-admin | 2,213 ▲22 | 4.86 ▼0.05 | 96.32 ▼20.15 | 38.33 ▼8.48 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.05 | 39.05 ▲3.78 | 34.28 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.16 ▲0.01 | 619.35 ▼36.65 | 50.44 ▼2.72 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.18 ▼0.05 | 95.10 ▼7.88 | 41.41 ▼5.06 |
SlideshowFx /wp-admin/options-general.php?page=sfx | 853 | 2.05 | 23.61 | 28.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SlideshowFx::add_init() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=sfx
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SlideshowFx::add_init() should not be called statically
- > GET request to /wp-admin/options-general.php?page=sfx
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SlideshowFx::add_admin_init() should not be called statically
- > GET request to /wp-admin/options-general.php?page=sfx
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=sfx
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/slideshowfx/slideshowfx.php:42
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: flickr, picasa, google, albums, photo albums...
slideshowfx/slideshowfx.php Passed 13 tests
The main file in "SlideshowFx" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
86 characters long description:
Insert Google+, Picasa or Flickr albums and photo thumbnail inside WordPress articles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,189 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 130 | 245 | 644 |
CSS | 1 | 11 | 49 | 396 |
PO File | 2 | 20 | 20 | 78 |
JavaScript | 1 | 9 | 34 | 70 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 28.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 27 | 93.10% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected