83% ioncube-tester-plus

Code Review | ionCube tester plus

WordPress plugin ionCube tester plus scored83%from 54 tests.

About plugin

  • Plugin page: ioncube-tester-plus
  • Plugin version: 1.3
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: May 30, 2013
  • Latest release: Apr 20, 2014
  • Number of updates: 11
  • Update frequency: every 29.6 days
  • Top authors: harmr (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /15,077 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
Installer ran successfully

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

An overview of server-side resources used by ionCube tester plus
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.56 ▲1.15
Dashboard /wp-admin3.31 ▲0.0147.45 ▼1.96
Posts /wp-admin/edit.php3.36 ▲0.0149.84 ▼1.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.59 ▼3.44
Media Library /wp-admin/upload.php3.30 ▲0.0732.31 ▼3.91

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

ionCube tester plus: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲7513.20 ▼1.211.52 ▼0.4031.26 ▼13.18
Dashboard /wp-admin2,216 ▲614.89 ▼0.81106.86 ▲4.4557.94 ▲15.37
Posts /wp-admin/edit.php2,098 ▲92.04 ▼0.0438.37 ▼2.0637.50 ▲2.71
Add New Post /wp-admin/post-new.php1,546 ▲2723.28 ▲0.47578.30 ▼87.7252.82 ▲3.88
Media Library /wp-admin/upload.php1,398 ▲164.23 ▲0.0496.67 ▼1.4947.29 ▲1.96

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

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 no errors were found, this is by no means an exhaustive test

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 take a closer look at the following
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/ioncube-tester-plus/loader-wizard.php
    • > /wp-content/plugins/ioncube-tester-plus/ioncube-tester-plus.php

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 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Requires at least: Invalid version format
  • Screenshots: Please add images for these screenshots: #1 (Admin notice when loader is installed on your server), #2 (Admin notice when loader is NOT installed on your server), #3 (loader wizard gives info on how to install the loader on your server)
You can look at the official readme.txt

ioncube-tester-plus/ioncube-tester-plus.php 92% from 13 tests

The principal PHP file in "ionCube tester plus" v. 1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 165 characters long)

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
Everything looks great! No dangerous files found in this plugin3,537 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2377333,537

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity3.33
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions160
▷ Named functions160100.00%
▷ Anonymous functions00.00%
Constants73
▷ Global constants73100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin