94% mrkwp-instagram-feed-divi

Code Review | MRKWP Social Photo Feed For Divi

WordPress plugin MRKWP Social Photo Feed For Divi scored 94% from 54 tests.

About plugin

  • Plugin page: mrkwp-instagram-f...
  • Plugin version: 4.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.2.1
  • WordPress version: 5.9.2
  • First release: Jul 3, 2019
  • Latest release: Oct 30, 2019
  • Number of updates: 7
  • Update frequency: every 17.0 days
  • Top authors: diviframework (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

600+ active / 3,649 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.13MB] [CPU: ▼299.46ms] Passed 4 tests

Analyzing server-side resources used by MRKWP Social Photo Feed For Divi
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.70 ▲0.1855.37 ▲4.39
Dashboard /wp-admin3.53 ▲0.1235.85 ▲2.85
Posts /wp-admin/edit.php3.76 ▲0.1237.59 ▲1.52
Add New Post /wp-admin/post-new.php7.08 ▲0.0993.09 ▼1,202.63
Media Library /wp-admin/upload.php3.47 ▲0.1824.62 ▲0.43

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 56 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for MRKWP Social Photo Feed For Divi
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,814 ▲6015.78 ▲0.035.93 ▼1.632.33 ▼0.61
Dashboard /wp-admin2,939 ▲786.03 ▼0.14120.20 ▼10.13168.39 ▲4.95
Posts /wp-admin/edit.php2,740 ▲463.24 ▼0.0064.39 ▼0.58140.89 ▼0.25
Add New Post /wp-admin/post-new.php1,697 ▲6216.41 ▼3.09414.31 ▼17.19165.65 ▲22.83
Media Library /wp-admin/upload.php1,746 ▲515.54 ▲0.10137.11 ▼3.07179.45 ▼5.65

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php:36
    • > PHP Fatal error
      Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/mrkwp-instagram-feed-divi/includes/modules/InstagramFeedExtension.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/pimple/pimple/src/Pimple/Tests/Psr11/ContainerTest.php:34
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/pimple/pimple/src/Pimple/Exception/ExpectedInvokableException.php:36
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/psr/container/src/NotFoundExceptionInterface.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/pimple/pimple/src/Pimple/Tests/PimpleServiceProviderInterfaceTest.php:34
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Container\\ContainerInterface' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php:38
    • > PHP Fatal error
      Uncaught Error: Class 'Pimple\\Container' not found in wp-content/plugins/mrkwp-instagram-feed-divi/src/Container.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/pimple/pimple/src/Pimple/Tests/ServiceIteratorTest.php:34
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/mrkwp-instagram-feed-divi/vendor/pimple/pimple/src/Pimple/Tests/Psr11/ServiceLocatorTest.php:39

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: social media, instagram, divi builder

mrkwp-instagram-feed-divi/mrkwp-instagram-feed-divi.php 92% from 13 tests

The main file in "MRKWP Social Photo Feed For Divi" v. 4.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,465 lines of code in 45 files:
LanguageFilesBlank linesComment linesLines of code
PHP375361,0872,329
reStructuredText19413597
JavaScript59725
JSX14111
Markdown1203

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity5.38
▷ Minimum class complexity1.00
▷ Maximum class complexity51.00
Average method complexity2.12
▷ Minimum method complexity1.00
▷ Maximum method complexity41.00
Code structure
Namespaces11
Interfaces4
Traits0
Classes28
▷ Abstract classes00.00%
▷ Concrete classes28100.00%
▷ Final classes27.14%
Methods153
▷ Static methods31.96%
▷ Public methods13789.54%
▷ Protected methods149.15%
▷ Private methods21.31%
Functions63
▷ Named functions11.59%
▷ Anonymous functions6298.41%
Constants3
▷ Global constants3100.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
PNG images were not found in this plugin