89% i-slidein

Code Review | i-SlideIn

WordPress plugin i-SlideIn scored89%from 54 tests.

About plugin

  • Plugin page: i-slidein
  • Plugin version: 1.0.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.3.1
  • WordPress version: 6.3.1
  • First release: Feb 2, 2016
  • Latest release: Feb 2, 2016
  • Number of updates: 7
  • Update frequency: every 0.1 days
  • Top authors: tho_movemk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /540 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.09ms] Passed 4 tests

Server-side resources used by i-SlideIn
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.94 ▼5.22
Dashboard /wp-admin3.31 ▲0.0145.17 ▼4.97
Posts /wp-admin/edit.php3.36 ▲0.0144.19 ▼0.32
Add New Post /wp-admin/post-new.php5.89 ▲0.0183.63 ▼9.86
Media Library /wp-admin/upload.php3.23 ▲0.0132.80 ▲0.48
i-SlideIn /wp-admin/options-general.php?page=i-slidein/i-slidein.php3.2030.72

Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
sli_options
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by i-SlideIn
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲6613.20 ▼1.092.12 ▲0.4842.71 ▼1.93
Dashboard /wp-admin2,213 ▲225.83 ▼0.07103.56 ▲3.3645.27 ▼1.02
Posts /wp-admin/edit.php2,093 ▲41.98 ▼0.0438.69 ▲3.9632.62 ▼2.48
Add New Post /wp-admin/post-new.php1,547 ▲1418.43 ▼4.72595.53 ▼96.6657.23 ▼0.78
Media Library /wp-admin/upload.php1,383 ▼24.20 ▼0.0296.66 ▼9.5746.41 ▼0.29
i-SlideIn /wp-admin/options-general.php?page=i-slidein/i-slidein.php1,3869.11287.5068.72

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • sli_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Donate link: Please fix this invalid url: ""
  • Screenshots: Add images for these screenshots: #1 (Here's a screenshot of it in action), #2 (Here's a screenshot of islidein.com)
The official readme.txt might help

i-slidein/i-slidein.php Passed 13 tests

The primary PHP file in "i-SlideIn" version 1.0.0.3 is used by WordPress to initiate all plugin functionality
68 characters long description:
Display a newsletter, banners etc. as a i-SlideIn on your WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin106 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP21319106

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 code0.19
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.42MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png47.75KB49.35KB0.00%
screenshot-2.png382.39KB417.40KB0.00%