89% the-beyond

Code Review | The Beyond for WordPress

WordPress plugin The Beyond for WordPress scored89%from 54 tests.

About plugin

  • Plugin page: the-beyond
  • Plugin version: 0.1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.9
  • WordPress version: 6.3.1
  • First release: Jan 3, 2018
  • Latest release: Jan 19, 2018
  • Number of updates: 8
  • Update frequency: every 3.9 days
  • Top authors: getbeyondio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /638 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼12.46MB] [CPU: ▼2,579,114.59ms] Passed 4 tests

Server-side resources used by The Beyond for WordPress
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0139.76 ▼8.32
Dashboard /wp-admin3.36 ▼49.8951.57 ▼10,316,446.02
Posts /wp-admin/edit.php3.41 ▲0.0153.26 ▼0.26
Add New Post /wp-admin/post-new.php5.96 ▲0.03103.74 ▼3.75
Media Library /wp-admin/upload.php3.29 ▲0.0140.90 ▲4.32

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for The Beyond for WordPress
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲2614.26 ▼0.092.09 ▼0.3242.70 ▼0.27
Dashboard /wp-admin2,203 ▲265.62 ▲0.0193.64 ▼5.8540.12 ▼2.88
Posts /wp-admin/edit.php2,108 ▲81.97 ▼0.0041.86 ▲4.4937.08 ▲2.54
Add New Post /wp-admin/post-new.php1,531 ▲523.40 ▼0.26621.83 ▼99.5070.79 ▲14.47
Media Library /wp-admin/upload.php1,402 ▲84.22 ▲0.0298.74 ▼14.7740.98 ▼5.55

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: getbeyond, beyond link, embed panel, article, responsive...

the-beyond/getbeyondio-embed.php 77% from 13 tests

"The Beyond for WordPress" version 0.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 446 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("the-beyond.php" instead of "getbeyondio-embed.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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
Good job! No executable or dangerous file extensions detected103 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1293665
JavaScript213038

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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