10% exopin-blogging-for-money

Code Review | eXopin Blogging For Money

WordPress plugin eXopin Blogging For Money scored 10% from 54 tests.

About plugin

  • Plugin page: exopin-blogging-f...
  • Plugin version: 3.5.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-3.5.1
  • WordPress version: 6.3.1
  • First release: Apr 13, 2013
  • Latest release: Jun 4, 2013
  • Number of updates: 28
  • Update frequency: every 1.9 days
  • Top authors: tradebit (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 6,153 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • Install procedure had errors
    • > Compile error in wp-content/plugins/exopin-blogging-for-money/exopin-start.php+325
    Cannot use "self" when no class scope is active

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.27ms] Passed 4 tests

A check of server-side resources used by eXopin Blogging For Money
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.56 ▼0.62
Dashboard /wp-admin3.31 ▲0.0048.95 ▼3.03
Posts /wp-admin/edit.php3.36 ▲0.0048.07 ▲2.60
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.98 ▼12.13
Media Library /wp-admin/upload.php3.23 ▲0.0034.07 ▼1.29

Server storage [IO: ▲0.38MB] [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: 29 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

eXopin Blogging For Money: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.68 ▼0.614.54 ▲2.2748.07 ▼3.06
Dashboard /wp-admin2,206 ▲214.85 ▼0.06106.39 ▲3.1838.88 ▼1.14
Posts /wp-admin/edit.php2,092 ▲32.00 ▼0.0539.10 ▼0.8834.85 ▼2.94
Add New Post /wp-admin/post-new.php1,533 ▼1322.85 ▼0.22623.32 ▲13.1753.71 ▼2.16
Media Library /wp-admin/upload.php1,388 ▲64.30 ▲0.1099.55 ▼2.3346.39 ▲4.70

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 were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 21× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/exopin-blogging-for-money/exopin-buyer-admin.php on line 284
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/exopin-blogging-for-money/exopin-table-pendings.php on line 6
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/exopin-blogging-for-money/exopin-table-sold-posts.php on line 6
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/exopin-blogging-for-money/exopin-table-pendings.php on line 6
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/exopin-blogging-for-money/exopin-table-purchases.php on line 6
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/exopin-blogging-for-money/exopin-table-pendings.php on line 6
    • > PHP Fatal error
      Uncaught Error: Class 'Exopin_utils' not found in wp-content/plugins/exopin-blogging-for-money/exopin-deactivated.php:2
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/exopin-blogging-for-money/exopin-table-on-sale.php on line 7
    • > PHP Fatal error
      Uncaught Error: Class 'Exopin_utils' not found in wp-content/plugins/exopin-blogging-for-money/exopin-activated.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'Exopin_utils' not found in wp-content/plugins/exopin-blogging-for-money/exopin-export.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% 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:
  • Tags: There are too many tags (15 tag instead of maximum 10)
The official readme.txt might help

exopin-blogging-for-money/exopin-blogging-for-money.php Passed 13 tests

The main PHP script in "eXopin Blogging For Money" version 3.5.5 is automatically included on every request by WordPress
25 characters long description:
eXopin Blogging For Money

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
Everything looks great! No dangerous files found in this plugin2,426 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP194941072,426

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity25.57
▷ Minimum class complexity1.00
▷ Maximum class complexity131.00
Average method complexity5.70
▷ Minimum method complexity1.00
▷ Maximum method complexity35.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes14
▷ Abstract classes00.00%
▷ Concrete classes14100.00%
▷ Final classes00.00%
Methods71
▷ Static methods5577.46%
▷ Public methods6794.37%
▷ Protected methods00.00%
▷ Private methods45.63%
Functions22
▷ Named functions22100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
PNG images were not found in this plugin