84% mumbai-meri-jaan

Code Review | Mumbai Meri Jan

WordPress plugin Mumbai Meri Jan scored 84% from 54 tests.

About plugin

  • Plugin page: mumbai-meri-jaan
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.8.1
  • WordPress version: 6.3.1
  • First release: Jan 30, 2014
  • Latest release: Jan 30, 2014
  • Number of updates: 10
  • Update frequency: every 0.1 days
  • Top authors: kdclabs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 616 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

Analyzing server-side resources used by Mumbai Meri Jan
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.11 ▼6.14
Dashboard /wp-admin3.31 ▲0.0146.73 ▼4.99
Posts /wp-admin/edit.php3.36 ▲0.0148.47 ▲4.12
Add New Post /wp-admin/post-new.php5.89 ▲0.0187.11 ▼6.83
Media Library /wp-admin/upload.php3.23 ▲0.0140.12 ▲3.97

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Mumbai Meri Jan: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲9614.42 ▲0.051.88 ▼0.0643.22 ▼2.64
Dashboard /wp-admin2,212 ▲244.86 ▼0.0596.68 ▼20.5941.07 ▲0.44
Posts /wp-admin/edit.php2,094 ▲52.00 ▲0.0035.44 ▲1.2033.37 ▼6.41
Add New Post /wp-admin/post-new.php1,587 ▲6721.58 ▼1.62635.38 ▼101.4538.98 ▼25.21
Media Library /wp-admin/upload.php1,391 ▲34.22 ▼0.0297.20 ▼6.6841.39 ▼9.23

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% 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 everything seems fine, this is not an exhaustive test

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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mumbai-meri-jaan/mumbai-meri-jaan.php:48

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: mumbai meepup, wc mumbai, wordpress meetups, wordcamp mumbai, mumbai...

mumbai-meri-jaan/mumbai-meri-jaan.php Passed 13 tests

The entry point to "Mumbai Meri Jan" version 1.0 is a PHP file that has certain tags in its header comment area
86 characters long description:
This plugin was design as a special feature to grow the WordPress Community in Mumbai.

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
Everything looks great! No dangerous files found in this plugin45 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP191645

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.11
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin