79% aramba

Code Review | Aramba Integration

WordPress plugin Aramba Integration scored79%from 54 tests.

About plugin

  • Plugin page: aramba
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 20, 2015
  • Latest release: Feb 22, 2019
  • Number of updates: 10
  • Update frequency: every 122.1 days
  • Top authors: aokhrimenko (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /707 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

Analyzing server-side resources used by Aramba Integration
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.10 ▼2.68
Dashboard /wp-admin3.31 ▲0.0143.82 ▼2.03
Posts /wp-admin/edit.php3.36 ▲0.0147.98 ▲4.80
Add New Post /wp-admin/post-new.php5.89 ▲0.0186.72 ▼6.66
Media Library /wp-admin/upload.php3.23 ▲0.0135.11 ▲0.87
Aramba /wp-admin/tools.php?page=aramba3.2031.16

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
aramba_api_key
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Aramba Integration
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.29 ▼1.131.75 ▲0.0645.08 ▲5.11
Dashboard /wp-admin2,210 ▲215.85 ▲0.9499.16 ▼12.9538.09 ▼4.09
Posts /wp-admin/edit.php2,096 ▲102.05 ▲0.0440.53 ▲3.3735.10 ▲2.03
Add New Post /wp-admin/post-new.php1,545 ▲1218.39 ▼4.89602.80 ▼69.7652.93 ▲0.32
Media Library /wp-admin/upload.php1,392 ▲44.18 ▼0.0497.63 ▲3.0242.42 ▼1.53
Aramba /wp-admin/tools.php?page=aramba7912.2025.1828.53

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% 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
Almost there! Just fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/aramba/templates/Activation/activation.php
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/aramba/aramba.php:25
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/aramba/templates/Import/import.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

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
4 plugin tags: aramba, e mail, e-mail, email

aramba/aramba.php Passed 13 tests

The principal PHP file in "Aramba Integration" v. 1.0.2 is loaded by WordPress automatically on each request
30 characters long description:
Integrate the blog with Aramba

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin442 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP68417287
CSS111066
PO File1151654
JavaScript16035

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity7.33
▷ Minimum class complexity7.00
▷ Maximum class complexity8.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods19
▷ Static methods1157.89%
▷ Public methods1578.95%
▷ Protected methods00.00%
▷ Private methods421.05%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin