73% icerik-bulutu

Code Review | İçerik Bulutu

WordPress plugin İçerik Bulutu scored73%from 54 tests.

About plugin

  • Plugin page: icerik-bulutu
  • Plugin version: 2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.6
  • WordPress version: 6.3.1
  • First release: Nov 10, 2014
  • Latest release: Feb 5, 2021
  • Number of updates: 24
  • Update frequency: every 95.0 days
  • Top authors: m_uysl (75%)rustemram (29.17%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,316 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.79ms] Passed 4 tests

A check of server-side resources used by İçerik Bulutu
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0451.78 ▲7.78
Dashboard /wp-admin3.35 ▲0.0550.67 ▼1.38
Posts /wp-admin/edit.php3.40 ▲0.0548.14 ▲0.04
Add New Post /wp-admin/post-new.php5.93 ▲0.0488.97 ▼18.59
Media Library /wp-admin/upload.php3.27 ▲0.0535.48 ▼7.23
/wp-admin/admin.php?page=icerik-bulutu-import3.2535.13
Import /wp-admin/admin.php?page=icerik-bulutu-content3.2230.92
Settings /wp-admin/admin.php?page=icerik-bulutu3.2342.32

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 6 new options
New tables
wp_icerikbulutu_apikey
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for İçerik Bulutu
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7914.29 ▼0.081.71 ▲0.0443.47 ▲2.72
Dashboard /wp-admin2,230 ▲535.62 ▲0.0297.04 ▲7.2240.75 ▼3.57
Posts /wp-admin/edit.php2,129 ▲321.99 ▼0.0235.19 ▼3.0433.34 ▼7.90
Add New Post /wp-admin/post-new.php1,552 ▲2623.11 ▲0.10675.30 ▲23.2351.09 ▼7.58
Media Library /wp-admin/upload.php1,429 ▲294.20 ▲0.03110.18 ▼5.3649.76 ▲3.10
/wp-admin/admin.php?page=icerik-bulutu-import8171.9626.3526.35
Import /wp-admin/admin.php?page=icerik-bulutu-content7061.127.4520.67
Settings /wp-admin/admin.php?page=icerik-bulutu8202.0029.4228.82

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie tables were found after uninstall: 1 table
    • wp_icerikbulutu_apikey
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
  • 3× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_charset_collate() on null in wp-content/plugins/icerik-bulutu/import.php:3
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_charset_collate() on null in wp-content/plugins/icerik-bulutu/contents.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/icerik-bulutu/ib.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: Please add images for these screenshots: #1 (Enter api key.), #2 (Settings page.)
The official readme.txt might help

icerik-bulutu/ib.php 85% from 13 tests

The principal PHP file in "İçerik Bulutu" v. 2.1 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("icerik-bulutu.php" instead of "ib.php")

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
Everything looks great! No dangerous files found in this plugin775 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP37215476
CSS110137
PO File13737108
Markdown142053
SVG1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
2 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png109.05KB29.38KB▼ 73.06%
screenshot-2.png106.18KB41.46KB▼ 60.95%